Hi All,
I am trying to geocode address but it gives an error "Address
Not found"
Below are the address that are giving error :
1) Europa-Allee , Föhren , DE
2) Auf der Geig , Erden , DE
and few more...
but if i search the above address in John Coryat's API geocoder page:
http://maps.huge.info/pinpointaddress.htm or in Google Map site, it
locates it.
Below is the code snippet that I am using :
function placeMarker ( existing_map, existing_address,
popup_text, existing_icon, x_dev, y_dev){
var geocoder = new GClientGeocoder();
geocoder.getLocations(existing_address, function(response) {
if (!response || response.Status.code != 200) { alert
(existing_address + " not found"); return;}
place = response.Placemark[0];
point = new GLatLng((place.Point.coordinates[1] + x_dev),
(place.Point.coordinates[0] + y_dev));
var marker = new createMarker(point, popup_text,
existing_icon);
existing_map.addOverlay(marker);
});
};
Thanks in advance,
Chaitra
--
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.