暂时用的是google地图提供的APIvar geocoder = new GClientGeocoder();
        geocoder.getLocations(latlng,showAddress);  
   然后发现Place[0].address出来的地址有问题。
市里面的都有详细的地址,到了外面,出了市,所有的经纬度都被定位到了国道或者省道上了。返回来的地址都是国道或者省道。
我想找到详细的地址,比如什么什么村往北偏差多少多少米。这种。请问怎么办。

解决方案 »

  1.   

     function getAddress() 
        {
         var ptlat= document.getElementById("<%=tblat.ClientID %>").value;
          var ptlon= document.getElementById("<%=tblon.ClientID %>").value;
         var latlng= new GLatLng(ptlat,ptlon);
       
            var geocoder = new GClientGeocoder();
            geocoder.getLocations(latlng,showAddress);
        }
     function showAddress(response) 
    {  
       if (!response || response.Status.code != 200)
       {     
         document.getElementById("<%=lbaddress.ClientID %>").innerHTML="";  
        } 
      else
       {  
         var  place = response.Place[0];   
         var point = new GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);  
         var er = new GMarker(point); 
        document.getElementById("<%=lbaddress.ClientID %>").innerHTML=place.address;
       } 
     }我是根据google地图经纬度定位,问题是,超出县级市级后,google返回的地址是经纬度坐标附近的公路名字。而不是村庄名字,这个问题咋解决?
      

  2.   

    或者说,谁能提供一个除了google地图定位的,其他地图的名字啥的就行。主要是精确定位。求助。。
      

  3.   

    ArcMap不知道为什么,老慢了。
      

  4.   

    bing map
    http://blog.csdn.net/sjb5201/archive/2011/03/09/6234764.aspx
      

  5.   

    我也找了很久,发现java的很多,c#的很少,只好自己写一个了http://hi.baidu.com/aaalove2008/blog/item/a2bc72e345749cf4cf1b3ee3.html?timeStamp=1315382329015