Map clustering to Google Maps

I’ve been looking for a plugin or some way to add the cluster code for Google maps

Example:

Google docs:

Medium article on how to do it with html etc.
https://medium.com/geekculture/how-to-create-marker-clusters-on-google-maps-7c9f61b869c9

I have tried to use the HTML element and include the example code within tags and adding a standard Bubble Google Map element with an # ID that matches what I have in the HTML

However I’m not getting any results… it was probably wishful thinking to imagine I could ‘just do that’ :slight_smile:

Any ideas, help would be awesome.

i believe the bdk googlemaps plugin does have a cluster feature built in, if that’s helpful :heavy_check_mark:

Hey thanks for that and i checked that one out (BDK) but it appears the developer has gone missing (hasnt posted, been active in a while) so I am reluctant to put in an important part of my application that could break.

All i really need is clustering at a certain zoom level…

Leafy Maps plugin has the cluster feature.

i’ve just installed and will give it ago, I’ve not used any alternative to Google Maps (mapbox), so this will be interesting to see how they compare - thanks.

Just wondering if there is any documentation for the plugin?
Thanks

thats good to know, i’ve been considering switching to it… i heard it has routing as well… do you happen to know if it uses actual road mileage to calculate routes, or “as the bird flies” miles?

Mapbox is pretty easy to use and does it nicer than google maps, you can copy paste this into the html element: Create and style clusters | Mapbox GL JS | Mapbox. Getting the data in can get tricky, but doable.

What is the feature called because I’ve been playing around with it for 2 days now and can’t figure it out.