On Feb 16, 1:37 pm, Aaron <[email protected]> wrote: > Hi there, > > I've got a little function that sends latLng data to a textbox. It is > currently in the format: (51.519934101320175, -0.11481629101562918) > > What I would like is to split out the latitude and longitude so that one > text box gets latitude and the other gets longitude but I don't know how to > retrieve just the latitude data from latLng. > > I've had a look > at:http://code.google.com/apis/maps/documentation/javascript/reference.h...
And has these documented methods: lat() number Returns the latitude in degrees. lng() number Returns the longitude in degrees. Did you try them? -- Larry > > I've also tried variations of latLng.latitude and so on but no luck. Any > ideas would be appreciated. > > A -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
