ScaleControlOptions interface
The options for a ScaleControl object.
- Extends
Properties
| max |
The maximum length of the scale control in pixels.
Default |
| unit | Unit of the distance ( |
Property Details
maxWidth
The maximum length of the scale control in pixels.
Default 100.
maxWidth?: number
Property Value
number
unit
Unit of the distance ('imperial', 'metric' or 'nautical').
Default 'metric'.
unit?: "imperial" | "metric" | "nautical"
Property Value
"imperial" | "metric" | "nautical"