Tap and hold gesture on .net Maui map view

627
2
Jump to solution
10-31-2023 01:29 AM
TomášZachoval
New Contributor III

Hello, is able to achieve somehow tape and hold gesture on mobil devices Android and iOS using .net maui Esri MapView. 

My goal is to tape and hold on graphics  move it and leave it on release gesture. But I was not be able to found an appropriate gestures. I think that onGeoviewHold and onGeoViewTouch is not naught. Can someone help.

Looking for something like onGeoviewDrag gesture.

Thank you.

T. Zachoval

0 Kudos
1 Solution

Accepted Solutions
PreetiMaske
Esri Contributor

You can edit graphic's geometry, i.e. move in your case via GeometryEditor.
Please see following sample as a working example:

https://github.com/Esri/arcgis-maps-sdk-dotnet-samples/tree/main/src/MAUI/Maui.Samples/Samples/Geome...

 

View solution in original post

2 Replies
PreetiMaske
Esri Contributor

You can edit graphic's geometry, i.e. move in your case via GeometryEditor.
Please see following sample as a working example:

https://github.com/Esri/arcgis-maps-sdk-dotnet-samples/tree/main/src/MAUI/Maui.Samples/Samples/Geome...

 

TomášZachoval
New Contributor III

Thank you, I found that this is probably the only usable solution. 

0 Kudos