I cant get this to work with React Leaflet 2. I am also a bit confused by the github homepage and wonder if there is a typo?
advice given is:
NOTE: the @next is required for react-leaflet v3 support. If you are still using react-leaflet v3, add dependency as react-leaflet-markercluster@^2.x.x
Should that say "if you are still using react-leaflet v2"?
I'm hoping to upgrade React leaflet in the future but for now I am tied to version 2 and in need of marker clustering. Im not sure of the correct compatability and my package.json combination results in a very long error.
I cant get this to work with React Leaflet 2. I am also a bit confused by the github homepage and wonder if there is a typo?
advice given is:
Should that say "if you are still using react-leaflet v2"?
I'm hoping to upgrade React leaflet in the future but for now I am tied to version 2 and in need of marker clustering. Im not sure of the correct compatability and my package.json combination results in a very long error.
The program works fine without the markercluster component. The error is see is huge but it starts with