I know how to add an point icon/graphic to a map by clicking the map or with coordinates in code. I was wondering if that icon/graphic could then be moved across the map a bit and placed somewhere else with a mouse click-drag or something like that.
Thanks for any help provided.
Solved! Go to Solution.
David,
Sure you use the Edit class for that:
Edit | API Reference | ArcGIS API for JavaScript 3.18
To move a feature, once the Edit toolbar is activated with that feature, press down on the feature, drag it, then let go at the new location.
David,
Sure you use the Edit class for that:
Edit | API Reference | ArcGIS API for JavaScript 3.18
To move a feature, once the Edit toolbar is activated with that feature, press down on the feature, drag it, then let go at the new location.
Ah yes, I see. Thanks so much.