-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Labels
Description
Hi, is it possible to cache index generated by SuperCluster so that I can use it next time instead of calling new Supercluster({}).load() Again?
The code below takes time for large records. I am trying to get over this issue.
superclusterIndex = new Supercluster({
map: (props) => props,
radius: MapConfig.clusterRadius,
maxZoom: ClusterZoomLevel.maxZoom,
}).load(geoJsonData.features);