How to find Latitude Longitude by address in php.
You can find very easily Latitude and Longitude by given address with combination of Google map api and php.
<?php
$address = 'Sector 37,Noida,India';
$geocode = file_get_contents('http:// maps.googleapis.com/maps/api/ geocode/json?address=' . urlencode($address) . '&sensor=true');
$geocode = json_decode($geocode );
echo 'Latitude:' . $geocode ->results[0]-> geometry->location->lat;
echo 'Longitude:' . $geocode ->results[0]-> geometry->location->lng;
?>
You can find very easily Latitude and Longitude by given address with combination of Google map api and php.
<?php
$address = 'Sector 37,Noida,India';
$geocode = file_get_contents('http://
$geocode = json_decode($geocode );
echo 'Latitude:' . $geocode ->results[0]->
echo 'Longitude:' . $geocode ->results[0]->
?>
your work is really very good i am giving some information these blog url. If you want to know more informatio visit us
ReplyDeleteWhat is salesforce trailhead
How to learn salesforce
How to create a custom app in salesforce
create-custom-object-and-tab-in-salesforce
how-to-install-ssl-certificate-in-website
how-to-start-laravel-framework
how-to-create-component-in-laravel
how-to-create-controller-in-laravel