If you have coordinates, then you just pass them to the GLatLng Constructor, you dont need to use the Geocoder.
Its covered here: http://econym.org.uk/gmap/basic1.htm On Tue, Nov 18, 2008 at 1:56 PM, mark <[EMAIL PROTECTED]> wrote: > > > Why? I have facilities at known coordinates and want to display the > location on a map. > > On Nov 17, 12:20 pm, "Barry Hunter" <[EMAIL PROTECTED]> > wrote: >> Why are you passing a lat/long to getLatLng ? >> >> It sounds like you are invoking the reverse geocoder (and hence >> getting back the coordinate of the nearest location) >> >> >> >> >> >> On Mon, Nov 17, 2008 at 5:03 PM, mark <[EMAIL PROTECTED]> wrote: >> >> > When I use the sample at >> >http://code.google.com/apis/maps/documentation/examples/geocoding-sim... >> > using the coordinates 33.505083707,-96.617697165 >> > I get a different result than what google maps gives. >> >http://maps.google.com/ >> >> > It used to give the exact same result or at least so close to the same >> > point I could never tell the difference. The result of the call to >> > geocoder.getLatLng changes the coordinates from >> > 33.505083707,-96.617697165 to 33.5010033,96.6192434 >> >> > Does anyone have any idea what changed with the API that would have >> > affected this in the last month or so? >> >> -- >> Barry >> >> -www.nearby.org.uk-www.geograph.org.uk-- Hide quoted text - >> >> - Show quoted text - > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
