ScaleControl
API Reference (beta) for <ScaleControl />
Property | Type | Description |
---|---|---|
position optional | "top-left" | "top-right" | "bottom-left" | "bottom-right" | - |
maxWidth optional | number | The maximum length of the scale control in pixels. |
unit optional | "imperial" | "metric" | "nautical" | Unit of the distance (`'imperial'`, `'metric'` or `'nautical'`). |