Capture click event

Jan 8, 2008 at 7:10 PM
With normal google maps I can do something like this via javascript to capture the lat/lon of a point.


GEvent.addListener(map,'click', function(overlay,latlng) {
processClick( latlng.lat(),latlng.lng() );

function processClick(latitude,longitude)
{
document.getElementById('lat_textbox').value = latitude;
document.getElementById('lng_textbox').value = longitude;
}

What is the best way to do this with this control?
Coordinator
Jan 9, 2008 at 5:42 AM
Hi,

In response to your post I have created a new Working Item .
Hope this helps.

Regards,
Velio
Jan 11, 2008 at 2:00 PM
That did the trick....nice.