On May 6, 2:10 pm, tamer hatoum <[email protected]> wrote:
> Dear ALl;
> I want to create a function in javascript which gets the latlangs and
> return the address using the  geocoder.getLocations
>
> how can I create that function without using any Gevent without
> clicking on the map or any marker to get the position .. just getting
> the coordinates from database a returning the address...
> regards...

Always look at Mike's tutorial first!

http://econym.org.uk/gmap/example_geomulti.htm

That uses a hard-coded array, but where he uses the array entry in
function theNext(), you could use GDownloadUrl to get the next data
from your database. That's a little more complicated because
GDownloadUrl uses a callback function.

Or: write a server-side script to do it using the HTTP geocoder. You
just have to make sure to follow the Terms and only use the
coordinates on a Google Map.

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

  • geocoder tamer hatoum
    • Re: geocoder Andrew Leach

Reply via email to