controlBar
Specifies the options of the control bar.
The control bar is a panel on a map that helps you navigate this map. This panel contains the pan control and the zoom bar for panning and zooming the map correspondingly. You can change the visibility of the control bar and adjust its colors using the options of the controlBar configuration object.
borderColor
Specifies a color for the outline of the control bar elements.
This option supports the following colors.
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
color
Specifies a color for the inner area of the control bar elements.
This option supports the following colors.
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
horizontalAlignment
Specifies the position of the control bar.
In addition to this option, use the verticalAlignment option to adjust the position of the control bar.
When configuring the widget using ASP.NET MVC Wrappers, specify this option using the HorizontalAlignment
enum. This enum accepts the following values: Left
, Center
and Right
.
verticalAlignment
Specifies the position of the control bar.
In addition to this option, use the horizontalAlignment option to adjust the position of the control bar.
When configuring the widget using ASP.NET MVC Wrappers, specify this option using the VerticalEdge
enum. This enum accepts the following values: Top
and Bottom
.