Is it possible to get address(Country, City, street, etc) by latitude and longitude? (BingMaps version 7)
是否可以按纬度和经度获取地址(国家,城市,街道等)? (BingMaps版本7)
2 个解决方案
#1
6
What's you're looking for is reverse geocoding - translating a coordinate into an address (as opposed to regular geocoding, getting coordinates from address information). The BingMaps 7.0 javascript library doesn't support this directly, but you can get this functionality from the Bing Maps REST services, and specifically the Locations service.
您正在寻找的是反向地理编码 - 将坐标转换为地址(与常规地理编码相反,从地址信息中获取坐标)。 BingMaps 7.0 javascript库不直接支持此功能,但您可以从Bing Maps REST服务,特别是Locations服务获得此功能。
Check out both the documentation of the Locations service and the docs of the Javascript library where they provide examples of calling that service from javascript.
查看Locations服务的文档和Javascript库的文档,其中提供了从javascript调用该服务的示例。
#2
2
after all research I have got this query
经过所有的研究,我得到了这个问题
this query is about to give us address after giving the latitude and longitudes.
在给出纬度和经度之后,这个查询将给我们一个地址。
read the link https://msdn.microsoft.com/en-us/library/ff701710.aspx
阅读链接https://msdn.microsoft.com/en-us/library/ff701710.aspx
#1
6
What's you're looking for is reverse geocoding - translating a coordinate into an address (as opposed to regular geocoding, getting coordinates from address information). The BingMaps 7.0 javascript library doesn't support this directly, but you can get this functionality from the Bing Maps REST services, and specifically the Locations service.
您正在寻找的是反向地理编码 - 将坐标转换为地址(与常规地理编码相反,从地址信息中获取坐标)。 BingMaps 7.0 javascript库不直接支持此功能,但您可以从Bing Maps REST服务,特别是Locations服务获得此功能。
Check out both the documentation of the Locations service and the docs of the Javascript library where they provide examples of calling that service from javascript.
查看Locations服务的文档和Javascript库的文档,其中提供了从javascript调用该服务的示例。
#2
2
after all research I have got this query
经过所有的研究,我得到了这个问题
this query is about to give us address after giving the latitude and longitudes.
在给出纬度和经度之后,这个查询将给我们一个地址。
read the link https://msdn.microsoft.com/en-us/library/ff701710.aspx
阅读链接https://msdn.microsoft.com/en-us/library/ff701710.aspx