api - Google map 网站和 API : different results

标签 api google-maps geolocation request

为什么调用 Google Maps Geocoder API 返回的结果与我在浏览器中看到的结果不同?

此返回许多项目:
http://maps.google.fr/maps?q=McDonald,+paris

这个返回 ZERO_RESULT :
http://maps.googleapis.com/maps/api/geocode/xml?McDonald,+paris&sensor=false

最佳答案

常见问题解答:https://developers.google.com/maps/faq#geocoder_differences

API 地理编码器查找邮政地址。 map 地理编码器使用大量数据(包括业务数据)来查找结果。

Places API 可以根据类型/类别查找位置,但它可能不适用于企业名称Documentation

关于api - Google map 网站和 API : different results,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10567487/

相关文章:

javascript - 我如何在谷歌地图绘图上添加自己的图像或绘图选项

c# - 如何恢复具有地形类型(水、森林、平原..)Google/Bing map 的 2D map ?

elasticsearch - Elasticsearch 未生成Geohash

php - 如何仅使用PHP检查某个坐标是否落入另一个坐标半径

php - CURLOPT_PUT 与 CURLOPT_POSTFIELDS

javascript - 谷歌地图 API : How to place images in the content of Multiple InfoWindows?

mysql - 如何在数据库查询中区分 403 和 404

javascript - 如何阻止谷歌地图地理编码在N秒后返回

php - 自定义 WordPress 发布查询

windows - GetModuleFileName 不返回调用程序的路径