Package com.naver.maps.map.clustering
Class Leaf
- java.lang.Object
-
- com.naver.maps.map.clustering.Node
-
- com.naver.maps.map.clustering.Leaf
-
@WorkerThread public class Leaf extends Node
단말 노드를 의미하는 클래스.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebMercatorCoordgetCoord()웹 메르카토르 좌표를 반환합니다.ClusteringKeygetKey()키를 반환합니다.LatLnggetPosition()좌표를 반환합니다.intgetSize()자식 노드의 개수를 반환합니다.java.lang.ObjectgetTag()태그를 반환합니다.-
Methods inherited from class com.naver.maps.map.clustering.Node
getMaxZoom, getMinZoom
-
-
-
-
Method Detail
-
getKey
@NonNull public ClusteringKey getKey()
키를 반환합니다.Clusterer.add(ClusteringKey, Object)로 지정한key가 반환됩니다.- Returns:
- 키.
-
getTag
@Nullable public java.lang.Object getTag()
태그를 반환합니다.Clusterer.add(ClusteringKey, Object)로 지정한tag가 반환됩니다.
-
getSize
public int getSize()
자식 노드의 개수를 반환합니다. 항상1이 반환됩니다.
-
getCoord
@NonNull public WebMercatorCoord getCoord()
웹 메르카토르 좌표를 반환합니다.
-
getPosition
@NonNull public LatLng getPosition()
좌표를 반환합니다.Clusterer.add(ClusteringKey, Object)로 지정한ClusteringKey.getPosition()이 반환됩니다.- Specified by:
getPositionin classNode- Returns:
- 좌표.
-
-