I wanted to remove mouse double click zoom but retain the scroll wheel zoom. Is it possible?
The double tapped event is too late. I believe if you handle it in the GeoViewTapped event, the doubletapped won't fire.
Alternatively, you can use the MapView.InteractionOptions to disable zoom.
Hi Morten. How would I accomplish this in Xamarin? There is no PreviewMouseDoubleClick event to work with there. And just setting handled = true in the GeoViewDoubleTapped event does not do the trick.
I want to use MyMapView_GeoViewDoubleTapped though. Is there any other way?
You just handle the doubleclick preview-event, which prevents the mapview from receiving the double-click:
myMapView.PreviewMouseDoubleClick += (s, e) => e.Handled = true;
WPF
WPF or UWP?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.