Package com.naver.maps.map.clustering
Class Cluster
- java.lang.Object
-
- com.naver.maps.map.clustering.Node
-
- com.naver.maps.map.clustering.Cluster
-
@WorkerThread public class Cluster extends Node
클러스터 노드를 의미하는 클래스.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Node>getChildren()자식Node의 목록을 반환합니다.WebMercatorCoordgetCoord()웹 메르카토르 좌표를 반환합니다.LatLnggetPosition()좌표를 반환합니다.intgetSize()전체 자식Leaf의 개수를 반환합니다.java.lang.ObjectgetTag()태그를 반환합니다.-
Methods inherited from class com.naver.maps.map.clustering.Node
getMaxZoom, getMinZoom
-
-
-
-
Method Detail
-
getTag
@Nullable public java.lang.Object getTag()
태그를 반환합니다.TagMergeStrategy.mergeTag(Cluster)로 병합한 객체가 반환됩니다.
-
getChildren
@NonNull public java.util.List<Node> getChildren()
자식Node의 목록을 반환합니다.- Returns:
- 자식
Node의 목록.
-
getSize
public int getSize()
전체 자식Leaf의 개수를 반환합니다.
-
getCoord
@NonNull public WebMercatorCoord getCoord()
웹 메르카토르 좌표를 반환합니다.
-
getPosition
@NonNull public LatLng getPosition()
좌표를 반환합니다.PositioningStrategy.getPosition(Cluster)으로 구한 좌표를LatLng로 변환한 좌표가 반환됩니다.- Specified by:
getPositionin classNode- Returns:
- 좌표.
-
-