# Unit

> **Unit** = `"imperial"` | `"metric"` | `"nautical"`

Defined in: [ui/control/scale\_control.ts:9](<https://github.com/maplibre/maplibre-gl-js/blob/638b3f9ecab4b743fd4d086d3bfd19bce7b7b032/src/ui/control/scale_control.ts#L9>)

The unit type for length to use for the [ScaleControl](<https://maplibre.org/maplibre-gl-js/docs/API/classes/ScaleControl/index.md>)
