I have the geocoding code working for over a year with no problems,
suddenly the lng/lat given by google seams to be about 5 miles off.

has something suddenly changed?

below is the code

  gLocalSearch.setSearchCompleteCallback(null,
    function() {

      if (gLocalSearch.results[0])
      {
        var resultLat = gLocalSearch.results[0].lat;
        var resultLng = gLocalSearch.results[0].lng;
        var point = new GLatLng(resultLat,resultLng);
        callbackFunction(point,map,zoomlevel);
      }else
      {
        alert("Postcode not found!");
      }
    });

-- 
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.

Reply via email to