Select to view content in your preferred language

change feature location by dragging it

362
1
07-19-2022 07:20 AM
GuyShaharabani
New Contributor III

hi!

 

Is it possible to edit a feature location on the map by dragging it and of course saving its location to the feature layer data source ?

0 Kudos
1 Reply
ReneRubalcava
Frequent Contributor II

I have a sample that moves a graphic on the "hold" event. You can tweak it to use applyEdits too.

https://codepen.io/odoe/pen/bLEroK

0 Kudos