How to disable the map zoom feature when double click event occurs. i am using the MapGraphicsView double click event only for identifying layers. How to disable this zoom feature in Arcgis Runtime 100.2.1 for Qt widget application.
Thanks in advance
Hi Vishnu B,
Yes, this can be done. You can intercept any of the mouse events. To disable the zoom behavior for the MapView on double click, connect up to the signal and "accept" the mouse event. It will look something like this
connect(m_mapView, &MapGraphicsView::mouseDoubleClicked, this, [this](QMouseEvent& mouseEvent){ mouseEvent.accept();});
Thank You
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.