Package com.kakao.vectormap.internal
Interface ILabelDelegate
-
public interface ILabelDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LabelAnimator
addAlphaAnimator(AlphaAnimations alphaAnimations)
java.lang.String[]
addBadges(boolean isLod, java.lang.String groupId, java.lang.String labelId, BadgeOptions... options)
LabelAnimator
addDropAnimator(DropAnimation dropAnimation)
void
addLabel(LabelLayer layer, LabelOptions options, OnLabelCreateCallback callback)
void
addLabels(java.lang.String layerId, boolean isLod, java.util.List<LabelOptions> options, java.util.List<LabelStyles> styles, java.lang.String callbackKey)
java.lang.String[]
addLabelStyles(LabelStyles... styles)
LabelLayer
addLayer(LabelLayerOptions options)
void
addLodLabel(LodLabelLayer layer, LabelOptions options, OnLodLabelCreateCallback callback)
LodLabelLayer
addLodLayer(LabelLayerOptions options)
void
addPolylineLabel(LabelLayer layer, PolylineLabelOptions options, OnPolylineLabelCreateCallback callback)
java.lang.String
addPolylineLabelStyles(PolylineLabelStyles styles)
void
addPositionShareLabel(java.lang.String layerId, java.lang.String labelId, java.lang.String sharedLabelLayerId, java.lang.String sharedLabelId)
LabelAnimator
addScaleAlphaAnimator(ScaleAlphaAnimations scaleAlphaAnimations)
LabelAnimator
addScaleAnimator(ScaleAnimations scaleAnimations)
LabelAnimator
addTransformAnimator(TransformAnimations transformAnimations)
void
addTransformShare(java.lang.String groupId, java.lang.String labelId, java.lang.String sharedGroupId, java.lang.String sharedId, boolean isLabel)
void
changePixelOffset(Label label, float x, float y, boolean adjustedDpScale)
void
changeStylesAndText(java.lang.String layerId, java.lang.String labelId, LabelStyles styles, boolean enableTransition, java.lang.String... texts)
void
changeTextAndStyles(PolylineLabel label, java.lang.String text, PolylineLabelStyles styles)
void
clearAll()
LabelAnimator
getAnimator(java.lang.String animatorId)
LabelLayer
getLabelLayer(java.lang.String groupId)
LabelStyles
getLabelStyles(java.lang.String stylesId)
LodLabelLayer
getLodLabelLayer(java.lang.String layerId)
LatLng
getPosition(java.lang.String groupId, java.lang.String labelId)
IMapResourceManager
getResourceManager()
float
getRotation(java.lang.String groupId, java.lang.String labelId)
boolean
hasLayer(java.lang.String layerId)
boolean
hasLodLayer(java.lang.String layerId)
void
moveOnPath(java.lang.String groupId, java.lang.String labelId, PathOptions options, boolean direction)
void
moveTo(java.lang.String groupId, java.lang.String labelId, LatLng position, int millis)
void
removeAllAnimator()
void
removeAllBadge(boolean isLod, java.lang.String groupId, java.lang.String labelId)
void
removeAllLabel(boolean isLod, java.lang.String groupId)
void
removeAllLayer()
void
removeAllLodLayer()
void
removeAnimator(java.lang.String animatorId)
void
removeBadge(boolean isLod, java.lang.String groupId, java.lang.String labelId, java.lang.String badgeId)
void
removeLabel(boolean isLod, java.lang.String groupId, java.lang.String labelId, boolean isPolyline)
java.lang.String[]
removeLabels(java.lang.String groupId, ILabel[] labels, boolean isPolyline)
void
removeLayer(boolean isLod, java.lang.String layerId)
java.lang.String[]
removeLodLabels(java.lang.String groupId, LodLabel[] labels)
void
removePositionShareLabel(java.lang.String layerId, java.lang.String labelId, java.lang.String sharedLabelLayerId, java.lang.String sharedLabelId)
void
removeTransformShare(java.lang.String groupId, java.lang.String labelId, java.lang.String sharedGroupId, java.lang.String sharedId, boolean isLabel)
void
rotateTo(java.lang.String groupId, java.lang.String labelId, float rotateTo, int millis)
void
scaleTo(java.lang.String groupId, java.lang.String labelId, float scaleX, float scaleY, int millis)
void
setAllVisible(java.lang.String layerId, boolean isLod, boolean isPolyline, boolean visible)
void
setBadgeOffset(boolean isLod, java.lang.String groupId, java.lang.String labelId, java.lang.String badgeId, float x, float y)
void
setBadgeVisible(boolean isLod, java.lang.String groupId, java.lang.String labelId, java.lang.String badgeId, boolean visible)
void
setClickable(boolean isLod, java.lang.String groupId, java.lang.String labelId, boolean touchable)
void
setLabelFactory(ILabelFactory factory)
void
setLayerClickable(java.lang.String layerId, boolean isLod, boolean clickable)
void
setLayerVisible(boolean isLod, java.lang.String groupId, boolean visible)
void
setPosition(java.lang.String groupId, java.lang.String labelId, LatLng position)
void
setRank(boolean isLod, java.lang.String groupId, java.lang.String labelId, long rank)
void
setRotation(java.lang.String groupId, java.lang.String labelId, float rotateTo)
void
setVisible(boolean isLod, java.lang.String groupId, java.lang.String labelId, boolean visible, boolean autoMove, int duration)
void
setZOrder(java.lang.String layerId, boolean isLod, int zOrder)
void
startAnimator(java.lang.String animatorId, java.util.List<Label> labels)
void
stopAnimator(java.lang.String animatorId)
void
updateLabels(Label[] labels)
-
-
-
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
-
addLayer
LabelLayer addLayer(LabelLayerOptions options) throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
-
addLodLayer
LodLabelLayer addLodLayer(LabelLayerOptions options) 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
-
addLabel
void addLabel(LabelLayer layer, LabelOptions options, OnLabelCreateCallback callback) throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
-
addLodLabel
void addLodLabel(LodLabelLayer layer, LabelOptions options, OnLodLabelCreateCallback callback) 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
-
addPolylineLabel
void addPolylineLabel(LabelLayer layer, PolylineLabelOptions options, OnPolylineLabelCreateCallback callback) 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)
-
-