PHP Classes

Google Geocode API: Get the location of a street with Google Maps API

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-01-25 (2 days ago) RSS 2.0 feedStarStarStarStar 62%Total: 1,346 This week: 6All time: 2,875 This week: 65Up
Version License PHP version Categories
gga 1.0.5GNU Free Document...5.3PHP 5, Web services, Geography
Description Author

This class can get the geographic location of a street with Google Maps API.

It sends an HTTP request to Google Maps Web services API Web server to get the geographic coordinates of a given street address, city and country.

The class parses the response and returns the latitude and longitude of the given address if found, as well the accuracy of the results and the address validity status.


The best PHP convert address to latitude and longitude class?
Find the latitude and latitude from a Google Maps address

Picture of Wouter Snels
Name: Wouter Snels <contact>
Classes: 2 packages by
Country: Belgium Belgium
Age: 42
All time rank: 166910 in Belgium Belgium
Week rank: 47 Up1 in Belgium Belgium Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file geocode.class.php Class class file
Accessible without login Plain text file example.php Example example file

 Version Control Unique User Downloads Download Rankings  
This week:6
All time:2,875
This week:65Up
 User Ratings  
 All time