Leaflet / Leaflet.markercluster

Marker Clustering plugin for Leaflet
MIT License
3.97k stars 1k forks source link

Laeflet.markercluster@latest not compatible with leaflet@latest, react@latest #975

Closed snjna closed 1 year ago

snjna commented 4 years ago

How to reproduce

What behaviour I'm expecting and which behaviour I'm seeing

Minimal example reproducing the issue

Using http://leafletjs.com/edit.html or any other jsfiddle-like site.

React-leaflet 2.6.0 has the following dependencies:

"leaflet": "^1.6.0", [Latest version] "react": "^16.8.0", [Latest version] "react-dom": "^16.8.0" [Latest version]

However, leaflet.markercluster@latest (1.4.1) has peer dependency of "leaflet": "~1.3.1". [older version] The peer dependency should be '^1.3.1' so that it works with leaflet 1.6.0

Falkyouall commented 4 years ago

Hi, i don't understand why this tiny bit of information is not getting updated to newer leaflet versions. It breaks my Pipelines if i don't install my dependencies with force.