Static Google Maps Custom Icons
-
06-07-2019 - |
Question
I've been looking for a way to add custom markers to a static Google map. I know the API doesn't provide the functionality, but I was wondering if there are any third party scripts that would do this. If not, how would I place my custom transparent images onto the static map?
Thanks
Solution
Not sure what you mean by static, but it's not hard to put custom images on the map as markers. It does not require any serverside code if that's what you mean.
http://groups.google.com/group/Google-Maps-API/web/examples-tutorials-custom-icons-for-markers
OTHER TIPS
Wrap each image in a div tag, overlay the div where you want it over the map, and use the
z-index
Property to specify ordering. Done and Done.
Check out this link
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow