Can i use GClientGeocoder to submit a GLatLng. If there is an address
then look up an xml file to get bounding box for a country.
var geocoder = new GClientGeocoder();
function showAddress(address) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
//map.setCenter(point, 8);
// var marker = new GMarker(point);
// map.addOverlay(marker);
// marker.openInfoWindowHtml(address);
getcountry(address);
}
}
);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---