0
googles geolocation을 사용하여 존재하지 않는 임의의 숫자 또는 주소로 보내면 위치 어딘가에 대한 답을 얻을 수 있습니다.Google geolocation은 잘못된 주소에 대한 좌표를 제공합니다.
분명히 존재하지 않는 주소의 위치를 제공하는 이유는 무엇입니까?
예.
결과
<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>
주어진 입력에 가장 잘 맞는 것을 찾는 것은 [지오 코더] (https://developers.google.com/maps/documentation/javascript/geocoding#Geocoding)의 작업입니다. 주소 유효성 검사기가 아닙니다 (사람이 주소 검사기로 사용하려고 시도했지만). – geocodezip
' APPROXIMATE location_type>'유형의 위치를 무시하고 결과를보고 해당 국가와 동일한 지 확인할 수 있습니다. –
geocodezip