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屋!