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?
That's more of a Xamarin.Forms specific question. Did you try something like what was mentioned here?https://forums.xamarin.com/discussion/27323/how-can-i-recognize-long-press-gesture-in-xamarin-forms orhttps://alexdunn.org/2017/12/27/xamarin-tip-xamarin-forms-long-press-effect/
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.
Sorry I don't have any source code like that, which is why I provided you with some resources you could start with instead.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.