Closed jjiangic closed 3 years ago
No perfect resolution but if this is a problem I recommend trying the alternative Spiderfier option which does handle markers close or overlapping.
Thanks for the prompt reply! I was thinking to use Pins with numerical (by using the count() method) label on the pins instead of Marker Clustering as a workaround. However, the current implementation for the label is to only show the first letter so it would not work when there are more than 9 items at the same location. I was wondering if there is a quick way can modify this limitation. If so, hope this would not break any styling on the pins. Thanks!
The default pin only supports a single letter or digit.
It's possible to use any arbitrary image as an icon, or to create shapes (e.g. circles, squares, etc.) as the icon, but not arbitrary text.
To put full text labels would require using an OverlayView object (https://developers.google.com/maps/documentation/javascript/reference/overlay-view#OverlayView). Support for this is not yet included in the plugin - but now that I know about it I will put it on my list :)
Raised for a future release: https://github.com/jeffreykemp/jk64-plugin-reportmap/issues/124
Hi Jeff,
This is an AWESOME plug-in! It has so many advanced and cool features. Thanks for doing this!
I have a question for the marker clustering. It seems like the markerClick event does not work for two or more items that have the same lat and lng.
I see you have a page (23-Issue: Marker Clustering Close Together) to address this issue. Is it something that you are still working on? I tried to find related discussions here but could not. Sorry if I've missed anything. Thanks!
John