Google Version 3 Maps Geocoder, Get Coordinates of marker layer when clicking or dragging marker

后端 未结 1 738
半阙折子戏
半阙折子戏 2021-01-28 03:11

I have made a Google Version 3 Geocoder , I want to be able to pick up the coordinates of the marker when it is dragged or clicked. Below is my code:



        
相关标签:
1条回答
  • 2021-01-28 03:26

    That code works just fine if you put it in the correct place:

    http://www.geocodezip.com/BlakeLoizides_geocode.html

    (inside the callback routine, the marker is local to it)

    0 讨论(0)
提交回复
热议问题