简体   繁体   中英

Static Google Maps Custom Icons

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

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

How would you make two <div>s overlap?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM