Hi,
  I am trying to extract the latitude longitude from the JSON object
via javascript.. is there any possible way of extracting the
coordinates.. I am able to display the lat ,lng as an alert on the
screen but I need to return it as a string.. here is the code snippet
which works

 map.setCenter(results[0].geometry.location);


                                                result =
results[0].geometry.location;
alert(result);

Another question:
for the above example if I were to return a latLng object convert this
object to C#. what kind of class must this be serialized to ?

I am have already created  a functional  working project using the
webservices directly, but for my purposes at this point in time I need
fetch the coordinates via javascript..


thanks in advance

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

Reply via email to