[OpenLayers-Users] OpenLayers on touch device: drawing by
dragging instead of click
Dominik Mikiewicz
dominikmikiewicz at o2.pl
Thu Mar 22 06:21:14 EDT 2012
You could edit a feature once it's been saved. This works with my setup
reasonably well. The problem (or maybe there is a solution for this already)
is deleting nodes on a mobile. In a normal browser environment one would use
delete or d button when hovering over a node in edit mode. On mobile this is
not possible or a solution is not obvious.
dom
-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Jelmer Baas
Sent: Thursday, March 22, 2012 10:29 AM
To: openlayers-users at lists.osgeo.org
Subject: [OpenLayers-Users] OpenLayers on touch device: drawing by dragging
instead of click
Hello,
With the release of OpenLayers 2.11 it's gotten fantastic to deploy to
mobile devices (iPhone/iPad/Android tablets). However, our users need to be
able to draw accurate lines which is nearly impossible at the moment.
Right now, you start drawing by tapping the screen, removing your finger,
moving to where you want the next point without touching the screen, and tap
again. If you make a mistake, you'll need to remove the line or node, and
try again.
It would be great if the "swipe" on mobile devices could replace the
"mousemove", so that it would move the next node instead of panning the map.
Of course this would also change when the drawing ends: instead of putting
down the node at "mousedown", it would do so at "mouseup".
Are there any plans of changing this drawing behavior for mobile devices?
And, does anyone have a suggestion how I could implement this for my site
with OL 2.11?
Thank you,
Regards,
Jelmer Baas
Speer IT B.V.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list