leaflet.markercluster Questions

1

Solved

const IconGen = ({ incomingData }) => { const [dataMap, setDataMap] = useState({}); const dataMapTemp = {}; incomingData.BandData.forEach((each) => { dataMapTemp[each.AntennaX].list.p...

6

I am in the process of converting a leaflet-map in React into a hook with the use of react-leaflet and react-leaflet-markercluster. Everything worked perfectly except the use of the MarkerCluster c...
Whistling asked 29/9, 2021 at 6:15

3

Solved

I'm trying to use MarkerClusterGroup on a leaflet map. I have the error L.MarkerClusterGroup is not a function. I've read the related threads, but they are only valid for versions below leaflet 1.7...
Aranyaka asked 21/3, 2022 at 22:7

3

Map` like this: L.Map = L.Map.extend({ openPopup: function(popup) { this._popup = popup; return this.addLayer(popup).fire('popupopen', { popup: this._popup }); } }); But I am using leaflet. ...
Sincerity asked 15/8, 2016 at 14:58

3

Solved

Am I doing something wrong, or why does the below example not work? I am trying to make leaflet markercluster plugin work with leafletProxy() in an R Shiny app, using the option iconCreateFunction....
Nautch asked 21/12, 2017 at 10:31

2

I am fascinated by the solution of grouping markers and presenting counts by groups in form of small piecharts https://stackoverflow.com/a/60525137/3480717 I am R only and do not know JS. I would l...
Dodecanese asked 8/11, 2021 at 8:8

2

Solved

I'm new to leafletjs. Been working on cesiumjs for a while and we are trying leaflet now. The main reason for the switch is to see if there's a huge performance difference. In Cesium, I had a coll...
Indonesia asked 5/5, 2016 at 6:24

2

Solved

I want to create a leaflet marker cluster group and I want to add all the markers, and for that I have written the below-mentioned code. But I am getting the error TypeError: L.markerClusterGroup i...
Gyronny asked 17/3, 2018 at 6:39

0

I have a Leaflet map in React using react-leaflet and react-leaflet-markercluster Clustering seems to work beautifully, but if I click on one of the cluster CircleMarker or Tooltip it opens a new ...
Sphygmomanometer asked 8/3, 2020 at 18:36

1

Consider the breweries91 data from the leaflet R package. I have simulated an additional variable in the breweries91 dataframe that corresponds to two groups for breweries. The code below will rep...
Stakhanovism asked 21/2, 2020 at 12:27

2

Solved

I am adding Leaflet.markercluster plugin to my existing Leaflet map. I am getting this error: Uncaught TypeError: this._featureGroup.addEventParent is not a function In relation to the line v...
Waldman asked 13/10, 2016 at 19:1

1

Solved

I am using several L.markerClusterGroup({})'s so that I can switch them in a Layers Control. But the Clusters hide behind each other. I would like to be able to get the total number of both Clust...
Tactician asked 26/7, 2018 at 17:2

1

Solved

I'm trying to get x,y coordinates on mouse move. And I'm getting error when I trying to get it. TypeError: Cannot read property 'latlng' of undefined at mouseMove (dashboard:593) at HTMLDivElem...
Rejoinder asked 7/2, 2017 at 13:18

1

Solved

I am using the Leaflet.markercluster plugin to cluster my points. However, users are asking for the functionality to switch between clustered and unclustered views (basically, they want to see all...
Volitive asked 10/5, 2016 at 14:58

1

Solved

I have two functions that load markers into my map. (Both functions are called on success of an AJAX call) First Function is like this: function loadEpsMarkers(data) { for (var i = 0; i < data....
Vaporization asked 30/10, 2015 at 20:41

1

I am currently working on a map visualization with the Leaflet library. I am also using the markercluster plugin to cluster my points. So my question now is the following: I have 3 different cate...
Ewen asked 15/10, 2015 at 8:12

1

Solved

I want to add popup on cluster group made using Leaflet.markercluster just like the popups that come on hovering over the leaflet markers.
Putput asked 18/8, 2015 at 8:54
1

© 2022 - 2024 — McMap. All rights reserved.