Skip to content

Commit 1577434

Browse files
authored
Merge pull request #182 from dubiety/users/charlie/fix-option-typo
Fix typo for ScaleControl option
2 parents 6d4cd87 + ed45a62 commit 1577434

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Samples/Controls/Simple Scale Bar Control/Simple Scale Bar Control.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
map.controls.add([
5050
//Add a imperial scale bar to the map.
5151
new atlas.control.ScaleControl({
52-
units: 'imperial'
52+
unit: 'imperial'
5353
}),
5454

5555
//Add a metric scale bar to the map.
5656
new atlas.control.ScaleControl({
57-
units: 'metric'
57+
unit: 'metric'
5858
})], {
5959
position: 'bottom-left'
6060
});

0 commit comments

Comments
 (0)