[OpenLayers-Users] Programmatically start a measure
Imateapot
lorynospam-ktopenlayers at yahoo.it
Thu Oct 3 08:13:35 PDT 2013
Hi there,
I'm using an OpenLayers.Control.Measure and I want to activate the control
*and* start measuring with a single right-click on the map.
I already achieved the activation and actually, to start a measuring on my
map, I need to right-click and then left-click to start measuring with the
control.
Instead, what I want is to do this with only one single mouse click.
So I need to programmatically start the measure, or simulate the user click.
I'm not able to trigger the right event: how can I solve this problem?
I'm not English, so sorry for my syntax.
Thanks a lot!
Bye.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Programmatically-start-a-measure-tp5081655.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list