Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
1 answer
85 views

Google Maps API MarkerClusterer is not defined

I have a working map with AdvancedMarkerElements, but it's completely killing the browser as soon as there are a few hundred markers. So I'm trying to add MarkerClusterer, but I just won't get it to ...
lichtpixel's user avatar
-1 votes
2 answers
417 views

How to add google maps markers from a json array- or how to add parameters for my array to the marker constructor

I've been fighting this forever I'm trying to figure out how to display google map markers from an object array generated in php, which I have JSON encoded and can access in my js file. Specifically ...
Steve's user avatar
  • 7
3 votes
1 answer
2k views

In the Google Maps API V3 MarkerClusterer class, how can I create multiple styles for MarkerClusters based on zoom level?

In the old @google/markercluster class, you could pass in a styles variable, which could contain multiple cluster styles which could then be passed into a markerCluster constructor, like below. var ...
Raetekusu's user avatar
0 votes
1 answer
672 views

Removing a marker from Clusterer when its position changes -- React Google Maps

I am using react-google-maps/api library in my typescript react app. My app allows users to mark their location on the map. When the user sets his/her marker he can change the marker location by ...
Kerem İlhan's user avatar
-2 votes
1 answer
2k views

Change default marker color to purple, but must use custom marker clustering using Google map api javascript

I am using https://maps.google.com/maps/api/js?key=xxxxxx&libraries=drawing,places,marker&async=2&callback=MapPropertyShopLoaded for google maps and https://unpkg.com/@googlemaps/...
vaughn's user avatar
  • 55
-1 votes
1 answer
146 views

How can I determine if a marker is currently being clustered in MarkerClusterer 2.0.15

I’ve been using MarkerClustererPlus for some time without issue. But it uses now deprecated calls to addDomListener which now generate hundreds of warning messages which state “the feature will ...
Steve Palmer's user avatar
1 vote
1 answer
918 views

How to avoid rerender on clearMarkers at MarkerClusterer?

I am using https://googlemaps.github.io/js-markerclusterer/index.html to display and cluster markers on a google map. I load it using CDN <script src="https://unpkg.com/@googlemaps/...
Adam's user avatar
  • 29.6k