Eric, Thank you for clarifying the controls.
I tried adding "stopUp = true" as in the following code:
var control;
for (var key in measureControls) {
control = measureControls[key];
control.events.on({
"measure": handleMeasurements,
"measurepartial": handleMeasurements
});
control.geodesic = true;
+ control.handler.stopUp = true;
map.addControl(control);
}
This works on the touch devices but breaks the measure when using a mouse,
ie. you click the first point and the map then drags.
Is there any way of detecting touch devices? What about devices that have
both touch and mouse?
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Touch-navigation-implementation-tp5020294p5020838.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users