Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
448 views

React Js: Type Error React-Leaflet When i used first cordinate for marker

I am trying to display marker on React-Leaflet map using coordinates when i used first and last index of poly-line coordinates to display on marker and i am getting type error all the time I don't ...
Piotr's user avatar
  • 145
-1 votes
2 answers
9k views

Marker Clustering (Leaflet.markercluster) with react-leaflet 2.0

Trying to get Leaflet.markercluster working with react-leaflet 2. https://github.com/OpenGov/react-leaflet-cluster-layer does not appear to be compatible with 2.x. Any example code to get me started ...
Tim Kelty's user avatar
  • 261
1 vote
1 answer
984 views

How to fix 'TypeError: leaflet__WEBPACK_IMPORTED_MODULE_7___default.a.markerClusterGroup is not a function'

I am trying to implement marker cluster on my multiple markers but I keep getting type error. TypeError: leaflet__WEBPACK_IMPORTED_MODULE_7___default.a.markerClusterGroup is not a function this....
Birat's user avatar
  • 85
0 votes
1 answer
3k views

map.addLayer(markerClusters) is not a function

I get this error: map.addLayer(markerClusters) is not a function in for my markerClusters since I updated the following packages: "leaflet": "^0.7.7", "leaflet.markercluster": "^0.5.0", "react-...
Michael Ploeckinger's user avatar

15 30 50 per page
1
2