Google maps Google geolocation为无效地址提供坐标
当使用谷歌地理定位,只发送随机数字或不存在的地址时,它仍然会给我们一个带有某个位置的答案 为什么它在一个显然不存在的地址上给出了一个位置 例如 结果Google maps Google geolocation为无效地址提供坐标,google-maps,geolocation,google-geocoding-api,google-geolocation,Google Maps,Geolocation,Google Geocoding Api,Google Geolocation,当使用谷歌地理定位,只发送随机数字或不存在的地址时,它仍然会给我们一个带有某个位置的答案 为什么它在一个显然不存在的地址上给出了一个位置 例如 结果 <result> <type>country</type> <type>political</type> <formatted_address>Sweden</formatted_address> <address_component>
<result>
<type>country</type>
<type>political</type>
<formatted_address>Sweden</formatted_address>
<address_component>
<long_name>Sweden</long_name>
<short_name>SE</short_name>
<type>country</type>
<type>political</type>
</address_component>
<geometry>
<location>
<lat>60.1281610</lat>
<lng>18.6435010</lng>
</location>
<location_type>APPROXIMATE</location_type>
<viewport>
<southwest>
<lat>55.3367024</lat>
<lng>10.9683721</lng>
</southwest>
<northeast>
<lat>69.0599709</lat>
<lng>24.1660240</lng>
</northeast>
</viewport>
<bounds>
<southwest>
<lat>55.3367024</lat>
<lng>10.9631866</lng>
</southwest>
<northeast>
<lat>69.0599709</lat>
<lng>24.1668093</lng>
</northeast>
</bounds>
</geometry>
<partial_match>true</partial_match>
</result>
国家
政治的
瑞典
瑞典
东南方
国家
政治的
60.1281610
18.6435010
近似
55.3367024
10.9683721
69.0599709
24.1660240
55.3367024
10.9631866
69.0599709
24.1668093
真的
这是用户的工作,为给定的输入找到最佳匹配。它不是地址验证器(尽管人们试图将其用作地址验证器)。您可以忽略类型为:APPROXIMATE
的位置,和/或查看结果,发现它与国家/地区的地址验证器相同。