ZoomControl
Type class
Zoom control displays zoom and pan controls on the map.
Sources
This information about ZoomControl is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
ZoomControl does not extend any other symbol.
ZoomControl is not extended by any other symbol.
Properties
Type
numberDefault1Button border opacity.
Type
numberDefault1Button border thickness.
Type
stringDefault#FF0000Button roll-over color.
Type
numberDefault0Button corner radius.
Type
numberDefault1Button fill opacity.
Type
stringDefault#990000Button fill color.
Type
stringDefault#FFFFFFButton icon color.
Type
stringDefault#CC0000Button roll-over color.
Type
numberDefault18Size of buttons.
gridAlphaType
numberDefault1Opacity of zoom-grid.
gridBackgroundAlphaType
numberDefault0.15Opacity of background under zoom-grid.
gridBackgroundColorType
stringDefault#000000Color of background under zoom-grid.
gridColorType
stringDefault#FFFFFFGrid color.
gridHeightType
numberDefault150Zoom grid color.
homeIconColorType
stringDefault#FFFFFFHome icon color.
iconSizeType
numberSize of icons. You might need to change size of icon gif files if you change this property.
leftType
numberDefault10Distance from left side of map container to the small map.
maxZoomLevelType
numberDefault64Max zoom level.
minZoomLevelType
numberDefault1Min zoom level.
panControlEnabledType
booleanDefaulttrueSpecifies if pan control is enabled.
panStepSizeType
numberDefault0.1Specifies by what part of a map container width/height the map will be moved when user clicks on pan arrows.
topType
numberDefault10Distance from top of map container to the small map.
zoomControlEnabledType
booleanDefaulttrueSpecifies if zoom control is enabled.
zoomFactorType
numberDefault2zoomFactor is a number by which current scale will be multiplied when user clicks on zoom in button or divided when user clicks on zoom-out button.
Methods
ZoomControl does not have any methods.
Events
ZoomControl does not have any events.