简体   繁体   中英

Add Custom Marker to Google Map with API v2

I'm attempting to add a custom marker to a Google Map using v2 of the API. However, I've been unsuccessful. The code I'm trying to use is found at Google Maps API . You'll find my work in progress at My Map . I appreciate any guidance you can provide. I simply want to drop a custom icon at (35.912075, -84.084563). Most of the support threads reference v3 of the API.

Thanks!

The V2 API has been deprecated and will be going away. You should be using V3. I don't see any section in your code that references a custom marker.

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