Map Navigation Control Options
This sample shows all the map navigation controls on the map and how they react with different option settings.
To test the zoom delta, simply press the zoom button to see how the map zoom per click changes, moving several levels at a time when the delta is greater than one.
To test the pitch and compass rotation deltas, hover over the appropriate control and use the addition buttons that appear to see how the new delta has changed the behavior of the button.
The control postition only applies to the zoom, pitch, compass and style controls. You can test the scale control's position options seperately to create a better layout.
See the
Add map controls
and
Choose map style
documentation for more examples using the map navigation controls.
Control Position:
bottom-left
bottom-right
non-fixed
top-left
top-right
Control Style:
dark
light
Zoom Delta:
1
2
3
4
5
Pitch Delta:
5
10
15
20
25
30
35
40
45
Compass Rotation Delta:
5
10
15
20
25
30
35
40
45
Picker Styles:
blank
blank_accessible
grayscale_dark
grayscale_light
high_contrast_dark
night
road
road_shaded_relief
satellite
satellite_road_labels
Style Picker Layout:
icons
list
Scale Max Width:
50
100
200
400
Scale Unit:
imperial
metric
nautical
Scale Control Position:
bottom-left
bottom-right
non-fixed
top-left
top-right