I search through the forums and google but didn't find anything on this, but I was wondering if anyone was having or has had issues with google maps changing their lat/long coordinates, even when a frozen version is declared?
Code:
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.2&sensor=false"></script>
In the geocoding portion:
Code:
geocoder.geocode({'address': query}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
var coordinates = results[0].geometry.location;
point.latitude = coordinates['oa'];
point.longitude = coordinates['pa'];
return callback();
} else {
var error = new Object();
error.message = 'We were unable to locate your latitude and longitude. Please check your address and try again.<br />';
error.callback = function(){};
return point.errorHandler(error);
}
});
The coordinates variable keeps changing the key. Originally it was:
Code:
point.latitude = coordinates['xa'];
point.longitude = coordinates['ya'];
Then: (and several others)
Code:
point.latitude = coordinates['sa'];
point.longitude = coordinates['ta'];
Now:
Code:
point.latitude = coordinates['oa'];
point.longitude = coordinates['pa'];
Why if a frozen version is declared, is this still changing?