I'm looking for a solution to a problem. I recently implemented a Google map with multiple markers. Then, because some of the markers were closely spaced, I implemented a marker clusterer this way:
var markerCluster = new MarkerClusterer(map, markers,
{ gridSize: 20, maxZoom: 25, imagePath: 'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m' });
It works perfectly in my editor preview.
But when I publish the page, the clusterer no longer works on the live site. Anyone have any ideas as to what's going on?
Thanks for that reply. I did see that code you reference. Mine follows it closely. What I don't understand is why it works fine in preview mode, but not at all on the live site. Yes, I did remember to "publish" the code before checking it on the live site.
https://www.vorbly.com/Vorbly-Code/WIX-CODE-GOOGLE-MAPS-CLUSTERS-%26-MARKERS
https://www.wix.com/corvid/forum/wix-tips-and-updates/example-multiple-markers-google-maps