Interface ILabelDelegate


  • public interface ILabelDelegate
    • Method Detail

      • setLabelFactory

        void setLabelFactory​(ILabelFactory factory)
                      throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • getResourceManager

        IMapResourceManager getResourceManager()
                                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addLabelStyles

        java.lang.String[] addLabelStyles​(LabelStyles... styles)
                                   throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addPolylineLabelStyles

        java.lang.String addPolylineLabelStyles​(PolylineLabelStyles styles)
                                         throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • getLabelStyles

        LabelStyles getLabelStyles​(java.lang.String stylesId)
                            throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • getLabelLayer

        LabelLayer getLabelLayer​(java.lang.String groupId)
                          throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • getLodLabelLayer

        LodLabelLayer getLodLabelLayer​(java.lang.String layerId)
                                throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • hasLayer

        boolean hasLayer​(java.lang.String layerId)
                  throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • hasLodLayer

        boolean hasLodLayer​(java.lang.String layerId)
                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeLayer

        void removeLayer​(boolean isLod,
                         java.lang.String layerId)
                  throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeAllLayer

        void removeAllLayer()
                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeAllLodLayer

        void removeAllLodLayer()
                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • clearAll

        void clearAll()
               throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addLabels

        void addLabels​(java.lang.String layerId,
                       boolean isLod,
                       java.util.List<LabelOptions> options,
                       java.util.List<LabelStyles> styles,
                       java.lang.String callbackKey)
                throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setVisible

        void setVisible​(boolean isLod,
                        java.lang.String groupId,
                        java.lang.String labelId,
                        boolean visible,
                        boolean autoMove,
                        int duration)
                 throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setClickable

        void setClickable​(boolean isLod,
                          java.lang.String groupId,
                          java.lang.String labelId,
                          boolean touchable)
                   throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setRank

        void setRank​(boolean isLod,
                     java.lang.String groupId,
                     java.lang.String labelId,
                     long rank)
              throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setLayerVisible

        void setLayerVisible​(boolean isLod,
                             java.lang.String groupId,
                             boolean visible)
                      throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeLabel

        void removeLabel​(boolean isLod,
                         java.lang.String groupId,
                         java.lang.String labelId,
                         boolean isPolyline)
                  throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeLabels

        java.lang.String[] removeLabels​(java.lang.String groupId,
                                        ILabel[] labels,
                                        boolean isPolyline)
                                 throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeLodLabels

        java.lang.String[] removeLodLabels​(java.lang.String groupId,
                                           LodLabel[] labels)
                                    throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeAllLabel

        void removeAllLabel​(boolean isLod,
                            java.lang.String groupId)
                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setPosition

        void setPosition​(java.lang.String groupId,
                         java.lang.String labelId,
                         LatLng position)
                  throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setRotation

        void setRotation​(java.lang.String groupId,
                         java.lang.String labelId,
                         float rotateTo)
                  throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • moveTo

        void moveTo​(java.lang.String groupId,
                    java.lang.String labelId,
                    LatLng position,
                    int millis)
             throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • rotateTo

        void rotateTo​(java.lang.String groupId,
                      java.lang.String labelId,
                      float rotateTo,
                      int millis)
               throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • scaleTo

        void scaleTo​(java.lang.String groupId,
                     java.lang.String labelId,
                     float scaleX,
                     float scaleY,
                     int millis)
              throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • moveOnPath

        void moveOnPath​(java.lang.String groupId,
                        java.lang.String labelId,
                        PathOptions options,
                        boolean direction)
                 throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • changeTextAndStyles

        void changeTextAndStyles​(PolylineLabel label,
                                 java.lang.String text,
                                 PolylineLabelStyles styles)
                          throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • getPosition

        LatLng getPosition​(java.lang.String groupId,
                           java.lang.String labelId)
                    throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • getRotation

        float getRotation​(java.lang.String groupId,
                          java.lang.String labelId)
                   throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • changePixelOffset

        void changePixelOffset​(Label label,
                               float x,
                               float y,
                               boolean adjustedDpScale)
                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addBadges

        java.lang.String[] addBadges​(boolean isLod,
                                     java.lang.String groupId,
                                     java.lang.String labelId,
                                     BadgeOptions... options)
                              throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setBadgeVisible

        void setBadgeVisible​(boolean isLod,
                             java.lang.String groupId,
                             java.lang.String labelId,
                             java.lang.String badgeId,
                             boolean visible)
                      throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setBadgeOffset

        void setBadgeOffset​(boolean isLod,
                            java.lang.String groupId,
                            java.lang.String labelId,
                            java.lang.String badgeId,
                            float x,
                            float y)
                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeBadge

        void removeBadge​(boolean isLod,
                         java.lang.String groupId,
                         java.lang.String labelId,
                         java.lang.String badgeId)
                  throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeAllBadge

        void removeAllBadge​(boolean isLod,
                            java.lang.String groupId,
                            java.lang.String labelId)
                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addTransformShare

        void addTransformShare​(java.lang.String groupId,
                               java.lang.String labelId,
                               java.lang.String sharedGroupId,
                               java.lang.String sharedId,
                               boolean isLabel)
                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeTransformShare

        void removeTransformShare​(java.lang.String groupId,
                                  java.lang.String labelId,
                                  java.lang.String sharedGroupId,
                                  java.lang.String sharedId,
                                  boolean isLabel)
                           throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • updateLabels

        void updateLabels​(Label[] labels)
                   throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setAllVisible

        void setAllVisible​(java.lang.String layerId,
                           boolean isLod,
                           boolean isPolyline,
                           boolean visible)
                    throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setLayerClickable

        void setLayerClickable​(java.lang.String layerId,
                               boolean isLod,
                               boolean clickable)
                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • setZOrder

        void setZOrder​(java.lang.String layerId,
                       boolean isLod,
                       int zOrder)
                throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addPositionShareLabel

        void addPositionShareLabel​(java.lang.String layerId,
                                   java.lang.String labelId,
                                   java.lang.String sharedLabelLayerId,
                                   java.lang.String sharedLabelId)
                            throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removePositionShareLabel

        void removePositionShareLabel​(java.lang.String layerId,
                                      java.lang.String labelId,
                                      java.lang.String sharedLabelLayerId,
                                      java.lang.String sharedLabelId)
                               throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • changeStylesAndText

        void changeStylesAndText​(java.lang.String layerId,
                                 java.lang.String labelId,
                                 LabelStyles styles,
                                 boolean enableTransition,
                                 java.lang.String... texts)
                          throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addDropAnimator

        LabelAnimator addDropAnimator​(DropAnimation dropAnimation)
                               throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addScaleAnimator

        LabelAnimator addScaleAnimator​(ScaleAnimations scaleAnimations)
                                throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addScaleAlphaAnimator

        LabelAnimator addScaleAlphaAnimator​(ScaleAlphaAnimations scaleAlphaAnimations)
                                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addAlphaAnimator

        LabelAnimator addAlphaAnimator​(AlphaAnimations alphaAnimations)
                                throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • addTransformAnimator

        LabelAnimator addTransformAnimator​(TransformAnimations transformAnimations)
                                    throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeAnimator

        void removeAnimator​(java.lang.String animatorId)
                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • removeAllAnimator

        void removeAllAnimator()
                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • startAnimator

        void startAnimator​(java.lang.String animatorId,
                           java.util.List<Label> labels)
      • stopAnimator

        void stopAnimator​(java.lang.String animatorId)
      • getAnimator

        LabelAnimator getAnimator​(java.lang.String animatorId)