ol-ext: interaction TouchCursor
is an interaction that shift the finger position to let the cursor visible when interacting on the map.
Interaction coordinates are shifted to the top left corner of a cursor that can be move with the finger.
You can add your own buttons (up to 5 / 8) to the cursor to handle optional functionnalities.
It modifies map browser event coordinate and pixel properties to force pointer on the cursor.
The coordinate modification is deported on the top of the interaction queue and other can be used after then
(a snap interaction is used in this example).
is an interaction to select features under the cursor.
Add you own buttons to do tomething with the selection...
combines a ModifyFeature interaction with a TouchCursor
and lets you see what you do when you modify features on mobile without hidding it with finger.
You can also access functionnality usually handled by option keys (delete a point on a linestring).
combines a Draw interaction with a TouchCursor to lets you draw precisely on mobile.
You can also access functionnality usually handled by option keys (remove last point, cancel drawing).