We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d4cd87 + ed45a62 commit 1577434Copy full SHA for 1577434
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