Hi,
We can track zoom by holding shift.
is it possible to provide track zoom as toolbar option,
so user can select it and zoom.
Thanks.
Trackzoom as toolbar option
Hi Lalitya,
Yes, we can do that with the help of LeftClickDragKey property in ExtentInterectiveOverlay of the WPF Edition. For example, when we click on the trackzoom button, we set the LeftClickDragKey as None, then if we want it back, we just set it back to “ShiftKey”. Partial codes like the below:
wpfMap1.ExtentOverlay.LeftClickDragKey = System.Windows.Forms.Keys.None;
// wpfMap1.ExtentOverlay.LeftClickDragKey = System.Windows.Forms.Keys.ShiftKey;
If there is any question, please let us know.
Thanks,
Johnny