TdxMapControlNavigationPanel.ShowZoomTrackBar Property
Switches the visibility of the zoom track bar.
#Declaration
Delphi
property ShowZoomTrackBar: Boolean read; write; default True;
#Property Value
Type | Default | Description |
---|---|---|
Boolean | True |
|
#Remarks
Users can do the following to zoom the displayed map in or out if the Map Control‘s OptionsBehavior.Zooming property is set to True
(default):
- Click and drag the zoom thumb, click any position on the zoom track, or click increment and decrement buttons if the
ShowZoomTrackBar
property is set toTrue
(default). - Hold Shift and Ctrl keys and drag the mouse pointer to use marquee zoom.
- Press + and - keys.
- Rotate the mouse wheel.
#Zoom Track Bar
The zoom track bar indicates the current zoom level and allows users to zoom the map in or out.
#UI Elements
- Increment/Decrement Buttons
- Increase and decrease the ZoomLevel property value by
1
. - Zoom Track
- Users can click any position on the zoom track to set the corresponding zoom level. The zoom thumb moves to the clicked position.
- Zoom Thumb
- Indicates the current zoom level on the zoom track. Users can drag the thumb like any other slider.
#Default Value
The ShowZoomTrackBar
property’s default value is True
.
See Also