We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32e6035 commit 4eb9e28Copy full SHA for 4eb9e28
1 file changed
README.md
@@ -30,6 +30,7 @@
30
```
31
32
- [demo online](https://deyihu.github.io/maptalks.tileclusterlayer/test/ "demo online")
33
+- [million markers cluster](https://deyihu.github.io/maptalks.tileclusterlayer/test/perf.html "million markers cluster")
34
35
```js
36
function getClusterMarkerSymbol(count) {
@@ -83,4 +84,12 @@ const geojson={
83
84
};
85
tileClusterLayer.setData(geojson);
86
87
+//use in ESM
88
+
89
+import * as maptalks from 'maptalks';
90
+import {TileClusterLayer} from 'maptalks.tileclusterlayer';
91
+const tileClusterLayer = new TileClusterLayer("tileClusterLayer",{
92
+ ...
93
+});
94
95
0 commit comments