Quantcast
Channel: Creative Geeks » General
Viewing all articles
Browse latest Browse all 9

Getting LAT & LONG values of an address with Google Maps API in PHP

$
0
0
Always wanted to get the LATITUDE & LONGITUDE coordinates of a adress with PHP? This script returns the correct LAT and LON points according to the Google Maps API. Can be interested when you want to do a inverted Geo-location look-up in PHP. function getLatLong($address){    if (!is_string($address))die("ERROR! - Invalid Address!");    $_url = sprintf('http://maps.google.com/maps?output=js&q=%s',rawurlencode($address)); [...]

Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images