Last active
December 2, 2023 18:49
-
-
Save softiconic/19b3790e39bfcf8bb19ee91bf7d08bb7 to your computer and use it in GitHub Desktop.
Modify the image path for marker clustering on Google Maps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Cluster init | |
if (s.cluster) { | |
markerCluster = new MarkerClusterer(map, markers, { | |
maxZoom: 12, | |
gridSize: 40, | |
//add image path url | |
imagePath: "https://www.bitcoinatmnearme.com/wp-content/themes/findall/images/m", | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment