MGeocoder: Google Maps API Extension for Geocoding
The Google Maps API lacks a Geocoder. This extension integrates free geocoders (for non-commercial use) directly into Google Maps.
Click the "Geocode" button in the map above to search for US addresses, or International cities.
For version 1..
map = new GMap(document.getElementById("map"));
geocoder = new MGeocoder();
..and version 2..
map = new GMap2(document.getElementById("map"));
: A proxy is required to work around browser security. A simple proxy in php is available here
, and GMaps v2
. Check with these services before deploying MGeocoder!
: I am reachable at [mikel_maron yahoo com]. My weblog
- Make the button look better. Maybe subclass GMapTypeControl
- Option to add marker when location is navigated to.
- Generally more control over what happens when location is found. Callback mechanism.
- better error messages
- allow MGeocoder to be called from form external to map