On Sep 9, 9:04 am, Deval <[email protected]> wrote:
> Hello,
>
> I want the latitude and longitude of that point on which i click in my
> gmap.
> then what is code for that.

Does no-one do any research any more?

Have a look at this example:
http://code.google.com/apis/maps/documentation/javascript/v2/examples/geocoding-reverse.html

A click on the map is handled by a function called getAddress(). That
gets passed two arguments, overlay and latlng. "latlng" is the
position of the click, as a GLatLng object. The example shows how to
use that location to get the address and other data; if you only want
the position, just display that.

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