Open PedroDMarques opened 9 years ago
Good question. I'm not sure of a workaround offhand without delving into the MarkerCluster code, and the workaround might be somewhat involved. I'll definitely look into it, though, and get back to you.
The same thing. marker cluster requires function to create icon, not marker.
Another issue probably - when I use DVF markers in marker cluster, click on cluster icon displays pie chart markers broken - i.e., segments of pie chart moved apart of each other. I'll try to attach screenshot later. This is probably an issue of marker cluster, but I can't understand, why cluster code could even split svg object to it parts? Shouldn't it be a group etc?
I've been trying to use the new markers provided with dvf as the cluster group icon for the markercluster plugin but with no success thus far. Since markercluster is expecting a L.DivIcon, is there any work around that I can take to make this happen ? I've been trying to reach down into the core of dvf but I haven't found a way to do so yet, if it is possible.