We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d4cd87 commit ed45a62Copy full SHA for ed45a62
1 file changed
Samples/Controls/Simple Scale Bar Control/Simple Scale Bar Control.html
@@ -49,12 +49,12 @@
49
map.controls.add([
50
//Add a imperial scale bar to the map.
51
new atlas.control.ScaleControl({
52
- units: 'imperial'
+ unit: 'imperial'
53
}),
54
55
//Add a metric scale bar to the map.
56
57
- units: 'metric'
+ unit: 'metric'
58
})], {
59
position: 'bottom-left'
60
});
0 commit comments