Select to view content in your preferred language

Delete waypoints/vertices on mobile devices

39
1
yesterday
Status: Open
chitty
by
Emerging Contributor

We are building an embedded map using the Sketch component and the JavaScript API.

All is working fine on desktop, we can draw a route, polygon, etc and we can delete a waypoint by using the mouse with a right click.

However on mobile there is no mouse to right click with.

You can see the issue when viewing the following example on a mobile device:
https://developers.arcgis.com/javascript/latest/sample-code/sketch/

The "idea" therefore is to enhance the sketch widget to support deleting waypoints on mobile/touch only devices.

1 Comment
DanielFox1

Hi @chitty 

Thank you for submitting this to the Ideas page, I am pasting the Enhancement number that has been logged against this matter for reference 

ENH-000173681 - Provide a way delete vertices on mobile devices with the JavaScript API 4.x