Skip to main content
edited title
Link
TomazicM
  • 27k
  • 23
  • 31
  • 42

Cluster GeoJSON layersdata with PruneCluster

added 190 characters in body
Source Link
zakaria mouqcit
  • 909
  • 1
  • 16
  • 28

I did the same, I got the coords from a GeoJSON layer, stored it in a variable then added it to Prunecluster as follows :

Now on my map I have the clusters around new markers and the GeoJSON layers. When I read the doc, I found that Prunecluster does not support GeoJSON. Now if I just work with markers, How can I attach them to the properties of the geojson features, because I'm building custom popups with the function onMarkerClick called when a geojson feature is clicked.

So if you all have anyan idea about how to convert GeoJSON to marker then add it to PruneClusterachieve that I would be pleased.

I did the same I got the coords from a GeoJSON layer, stored it in a variable then added it to Prunecluster as follows :

Now on my map I have the clusters around new markers and the GeoJSON layers. When I read the doc, I found that Prunecluster does not support GeoJSON. So you all have any idea about how to convert GeoJSON to marker then add it to PruneCluster.

I did the same, I got the coords from a GeoJSON layer, stored it in a variable then added it to Prunecluster as follows :

Now on my map I have the clusters around new markers and the GeoJSON layers. When I read the doc, I found that Prunecluster does not support GeoJSON. Now if I just work with markers, How can I attach them to the properties of the geojson features, because I'm building custom popups with the function onMarkerClick called when a geojson feature is clicked.

So if you have an idea about how to achieve that I would be pleased.

Added tags.
Link
TomazicM
  • 27k
  • 23
  • 31
  • 42
removed guys; naming
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65
Loading
Source Link
zakaria mouqcit
  • 909
  • 1
  • 16
  • 28
Loading