the GLatLng class has a toUrlValue function.

http://code.google.com/apis/maps/documentation/reference.html#GLatLng.toUrlValue

alert(point.toUrlValue());

i think there is a toString() function too.


On 25 March 2010 18:58, enigma65 <[email protected]> wrote:
> Hi there ,
> I'm having trouble figuring out which classes/methods I need to employ
> to get a very simple function to spit out a Lat Long coordinat pair.
> I've tried a few dozen things and got a few dozen errors ;-)
>
> You can see the code (URL below) in a stripped down test page. It's
> 99% taken from an API example.
>
> Very simply I want to be able to enter an address (city, state, zip or
> any combination thereof) and have access to the lat/long coordinates
> as values.
>
> Right now the function indicates that an address is either found or
> not found. How do I expand this to get it to "Alert" the lat/long
> coordinates of the found address?
>
> http://www.ouidad.com/test/googmap.asp
>
> Thanks so much for any guidance!
>
> --
> 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.
>
>



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

Reply via email to