Google map V3 user adding markers

前端 未结 2 1959
野的像风
野的像风 2021-02-04 19:01

I need some code that allows users to add their own markers to my map. Does anybody have an example?

Thanks!

var initialLocation;
var siberia = new goog         


        
2条回答
  •  别那么骄傲
    2021-02-04 19:36

    Or, use MarkerManager for maps API v3 and rid yourself of any kind of other little mistake you could make implementing this (like moving markers etc)

提交回复
热议问题