This extension obtains the latitude and longitude for a given address.
v0.2 updates Extension is configurable, Return more information, and Traps error.
Feedback and comments are welcome to make it better
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.0 or above
Installation ¶
- Extract the release file under
protected/extensions
Usage ¶
See the following code example:
Change Log ¶
October 11, 2009 ¶
- Initial release.
October 12, 2009 ¶
Extension is configurable Return more information Traps error
Extended to v0.2
Other information are added
Error handling enabled
Does the basics
This does the basics of what is needed to Geocode with the Google API, but it ignores a lot of the other information that Google returns.
It does not have any error handling for if the request fails, if google cannot Geocode the information (a bad address), and some of the other error codes you can get. It also completely ignores all of the information that google returns involving the more detailed synopsis of what the address is.
However, this extension is what it is, a simple easily customizable interface for getting the lat/lon of an address from google.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.