You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing a spiderfier of markers in our web application.
if I use map data object it works fine, but the issue is when I use the dataLayerClusterer object on OverlappingFeatureSpiderfier instance.
for example:
dataLayerClusterer = new DataLayerClusterer({
"map": map,
"maxZoom": 19
});
featureSpiderfier = new OverlappingFeatureSpiderfier(dataLayerClusterer);
Error:
I am getting this error in browser console:
Uncaught: Layer map should be set before instantiating OverlappingFeatureSpiderfy!
The text was updated successfully, but these errors were encountered:
Sorry, the library is designed to work directly with a data layer. I expect it would need a lot of changes to work with the clusterer - I'd happily take a PR though if you want to take it on.
I am implementing a spiderfier of markers in our web application.
if I use map data object it works fine, but the issue is when I use the dataLayerClusterer object on OverlappingFeatureSpiderfier instance.
for example:
dataLayerClusterer = new DataLayerClusterer({
"map": map,
"maxZoom": 19
});
featureSpiderfier = new OverlappingFeatureSpiderfier(dataLayerClusterer);
Error:
I am getting this error in browser console:
Uncaught: Layer map should be set before instantiating OverlappingFeatureSpiderfy!
The text was updated successfully, but these errors were encountered: