chrisstump
chrisstump
1/18/18 at 10:18 am
PHP
api, google, geo

Convert Lat / Long to City / State with Google Geocode API

Use the Google Maps Geocoding API to pass lat / long coordinates to this function and return the city and state. Get a Google Maps API Key here.

Don't Have an Account?

Stop digging through old code examples. Get organized. Get Code Snipper.

Learn More Start Free 14 Day Trial