Problem with geocoder.getLatLngn in IE6
Hi All,
i am trying to use google map API to get point based on the postal
code provided by user
its working fine for all broweser except IE6 where it is not returning
any point corresponding to the said Postal code.
below is the code i have used
function getLatLong() {
var zip = (document.getElementById('StoreSearch_ZIP').value).replace("
", "");
if((zip.search(/^\d{4}[\s-]?[a-zA-Z]{2}$/)) != -1) { //validates
postal codes
//geocoder.getLatLng(zip, findNearestStores);
geocoder.getLatLng( zip, function(point) {
if (!point) {
alert(zip + " not found");
} else {
alert("point"+point)
}
}
);
in all cases its working fine but for IE6 its not working can any one
tell me whats going wrong with the code
thanks in advance
Umesh
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home