Package com.naver.maps.map.clustering
Class DefaultThresholdStrategy
- java.lang.Object
-
- com.naver.maps.map.clustering.DefaultThresholdStrategy
-
- All Implemented Interfaces:
ThresholdStrategy
public class DefaultThresholdStrategy extends java.lang.Object implements ThresholdStrategy
기본ThresholdStrategy구현체. 고정된 기준 거리를 사용합니다.
-
-
Constructor Summary
Constructors Constructor Description DefaultThresholdStrategy(double threshold)생성자.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetThreshold(int zoom)생성자로 지정된threshold를 반환합니다.
-
-
-
Method Detail
-
getThreshold
@WorkerThread public double getThreshold(int zoom)
생성자로 지정된threshold를 반환합니다.- Specified by:
getThresholdin interfaceThresholdStrategy- Parameters:
zoom- 기준 거리를 구할 줌 레벨.- Returns:
- 클러스터링할 기준 거리.
-
-