Skip to content

Commit ad195e1

Browse files
committed
Use imperial/metric props instead of scale
`scale` does not seem like a valid prop, perhaps it's just a typo?
1 parent f349a8a commit ad195e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/l-control-scale/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Any of the props of `l-control-scale` or the classes that it extends can be used
1111

1212
<template>
1313
<l-map style="height: 100%; width: 100%" :zoom="zoom" :center="center">
14-
<l-control-scale position="topright" scale="imperial" ></l-control-scale>
14+
<l-control-scale position="topright" :imperial="true" :metric="false"></l-control-scale>
1515
<l-tile-layer :url="url"></l-tile-layer>
1616
</l-map>
1717
</template>

0 commit comments

Comments
 (0)