How to move Picture graphic from one MapPoint to another MapPoint by Long Press + dragging in Xamarin-form?

403
3
01-16-2020 02:59 AM
ShakirShaikh
New Contributor

How to get Map touch callback as like iOS in Xamarin-form?

In iOS we get following callback on map touch:

geoView:didLongPressAtScreenPoint:mapPoint:

geoView:didMoveLongPressToScreenPoint:mapPoint:

geoView:didEndLongPressAtScreenPoint:mapPoint:

In Xamarin-form only have following events:

DrawStatusChanged

GeoViewDoubleTapped

GeoViewHolding

GeoViewTapped

LayerViewStateChanged

NavigationCompleted

SpatialReferenceChanged

ViewpointChanged

We did not find any event for Long press & drag long press.

Please help us to achieve the same functionality as iOS in Xamarin-forms?

0 Kudos
3 Replies
dotMorten_esri
Esri Frequent Contributor
0 Kudos
ShakirShaikh
New Contributor

Thank You, Morten, for your reply.

Basically we are looking for Graphic Drag and Drop feature in Xamarin-Forms. I will be grateful if you provide the source code. Thank you.

0 Kudos
dotMorten_esri
Esri Frequent Contributor

Sorry I don't have any source code like that, which is why I provided you with some resources you could start with instead.

0 Kudos