地理位置聚合:supercluster

jopen 8年前發布 | 36K 次閱讀 地理信息系統GIS supercluster

一個非常快的JavaScript庫用于在瀏覽器和Node環境中實現地理位置聚合。

var index = supercluster({
    radius: 40,
    maxZoom: 16
});
index.load(points);
index.getClusters([-180, -85, 180, 85], 2);

Clustering 6 million points in Leaflet:

clusters2

項目地址: https://github.com/mapbox/supercluster

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!