You wrote
>yeah, larry if you pop open any balloon, you will see the GPS
>coordinates are actually listed there- those are generated by our
>partners in the field in Africa, using a range of GPS devices- Garmin,
>Magellen, etc. So ideally, if you copy those, and paste them in the
>search bar, they should take you right back to that same balloon-
>however, they don't. they take you a few miles AWAY. Weird thing is in
>Google Earth, they take you to the exact right place- right to the
>marker.

The values displayed in your infowindows are lat/lng pairs rather than
GPX coordinates. If that's always the case, you can just do this:

        function showAddress(address) {
          var point =  GLatLng.fromUrlValue(address);
          map.setCenter(point, 10);
          var marker = new GMarker(point);
          map.addOverlay(marker);
          marker.openInfoWindowHtml(address);
        }

It works in Google Earth because the Google Earth code guesses that
those numbers are lat/lng pairs and doesn't attempt to geocode them.

Google's database for Ethiopia is a bit sparse. When you geocode a
location, you get one of the points in Google's database, which might be
a considerable distance away.

-- 
Mike Williams
-- 
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