Google Maps API - 删除新的引脚 [英] Google Maps API - Drop a new pin
问题描述
我希望用户能够在我的自定义Google地图集成中放置一个引脚,类似于在Google的我的地图部分执行此操作的功能。我找不到允许用户通过API删除新引脚的任何东西。任何人都可以提供一些信息或指向正确的方向?
I'd like users to be able to drop a pin on my custom Google Maps integration, similar to the ability to do this in the "My Maps" section on Google. I can't find anything about allowing a user to drop new pins through the API though. Can anyone provide some info or point me to the right direction?
推荐答案
如果你使用V3,一个很好的例子可以是在 http://www.geocodezip.com/v3_example_click2add_infowindow.html 中找到。 http://econym.org.uk/gmap/ 上的教程也是开始的好地方,并且在 http://www.geocodezip.com/ 上有V2和V3的有用链接。
If you're using V3, a good example can be found at http://www.geocodezip.com/v3_example_click2add_infowindow.html. The tutorials at http://econym.org.uk/gmap/ are also a good place to start, and there are loads of useful links for V2 and V3 at http://www.geocodezip.com/.
这篇关于Google Maps API - 删除新的引脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!