今天试了一天,只搞出来了google的显示,客户要录在后台拖动一个图标,这样就可以得到图标所在的经纬度,不知道大家有没有这方面的例子?

解决方案 »

  1.   

    javascript
      

  2.   

    一切尽在google code:google的例子:
    http://code.google.com/apis/maps/documentation/examples/geocoding-reverse.html一个复杂点的demo:
    http://gmaps-samples.googlecode.com/svn/trunk/geocoder/v2-geocoder-tool.html#q%3D48.922499%2C-96.328125其它例子和demo:
    http://code.google.com/apis/maps/documentation/demogallery.html
      

  3.   

    嗯,这里还可以试玩code:http://code.google.com/apis/ajax/playground/?exp=maps#geocoding_reverse
      

  4.   

    是的. 添加 一个监听 鼠标点击的事件就行了.
    GEvent.addListener(map, "click", getAddress);
      

  5.   

    xue         .
    xi