Commit 2d5b9bd7 by hanjixin

MarkerClusterer

parent 5fc572da
......@@ -97,7 +97,8 @@ class Map3D {
});
console.log(markers);
this.cluster = new AMap.MarkerClusterer(this.map, markers, {
gridSize: 20,
gridSize: 60,
maxZoom: 12.9,
zoomOnClick: false,
renderClusterMarker: function (context) {
_renderClusterMarker(context, markers.length,icon);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment