Add optional behavior to re-center map on left-click Zoom
Description
The default behavior of the zoom tool on a left-click is to maintain the current position beneath the mouse pointer, zooming in or out around that point. Alternatively, some mapping tools will recenter the map at the clicked point when zooming.
Add a boolean property/behavior to support recentering the map on the zoom click, defaulting to False so as not to alter the current default behavior.
Activity
Show:
Jerry Faust
February 14, 2018, 7:54 PM
A new boolean property has been added, RecenterMapOnZoom, that changes the default zoom click behavior so that the map is recentered at the clicked point. The property can be set in the Form designer or in code, and the default value is False, leaving the zoom behavior as it was.