hi, some tips:
document.getElementById('html_button').onclick = function (){
clickHandler.activate();
}
var clickHandler = new OpenLayers.Handler.Click(
{ 'map': map },
{
'click': function(evt) {
//get ur coords
var lo
Whats the easiest way to capture coords on click?
My Usage:
I have a form with a location textfield.
a button next to the field will allow a user to (once clicked) click on
the map to fill the textfield with a lat, long ,alt.
Alt will default to 0.
I'm thinking i need to register and unregister