문제

How to find the zip code corresponding to a latitude / longitude?

What tools are available to fetch this information?

도움이 되었습니까?

해결책

Google provides Geocoding/Reverse geocoding API which allow you to get address information from lat/lng.

i.e.) http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=false

In the result, you can find the postal code like this: enter image description here

More detail, please read the official document. https://developers.google.com/maps/documentation/geocoding/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top