Because the mouse wheel delta value always is 120/-120, and the zoom in&out factor of mapview is *2 or /2. So the mapview scale will be fix in some value.
Problem:
How to custom zoom in&out value or function let mapview scale be more flexbility?
You can set the zoomfactor here: https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.UI.InteractionOptions.ZoomFactor.htmlmapView.InteractionOptions = new Esri.ArcGISRuntime.UI.MapViewInteractionOptions() { ZoomFactor = 1.5 };> Because the mouse wheel delta value always is 120/-120Some mice reports much smaller (but more frequent) intervals - in that case zooming switches to a much more discrete amount of zoom.Also try shift + drag to create a zoom box (ctrl+shift+drag to zoom out).
thank you so much @dotMorten_esri !!!! The zoomfactor is what I want to find, and it's really solve my problem! The mouse wheel delta value can ignore ~~
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.