AnsweredAssumed Answered

Drag and Drop onto Map

Question asked by keithgemeinhart on Jan 22, 2014
Latest reply on Feb 24, 2014 by akajanus-esristaff
I'm looking for advice on implementing drag & drop onto the WPF map control. My goal is to drag from a list of items, and drop on the map to create a new graphic/feature at the drop location.

The map has Drop and PreviewDrop events, but neither provide the map/mouse coordinates of the drop event. Am I missing something in the events? Both have DragEventArgs as the parameter.

All I really need is the mouse's map position when the drop happens. With that in mind, I also tried to get mouse move events, but they don't seem to carry any position either, only MouseEventArgs.

Any ideas? Am I missing something obvious?

Thanks!

P.S. ArcGIS Runtime 10.1.1, but I can upgrade to 10.2 if there is something that will help.

Outcomes