JavaScript/jQuery VectorMap - controlBar
Users can use the pan control and zoom bar in the control bar panel to navigate the map.
The following code shows how to use the controlBar object to move the control bar to the right side of the map:
- $(function() {
- $("#vectorMapContainer").dxVectorMap({
- // ...
- controlBar: {
- horizontalAlignment: "right"
- }
- });
- });
borderColor
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
color
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
horizontalAlignment
In addition to this property, use the verticalAlignment property to adjust the position of the control bar.
verticalAlignment
In addition to this property, use the horizontalAlignment property to adjust the position of the control bar.
If you have technical questions, please create a support ticket in the DevExpress Support Center.