Interface ScaleControlProps

Implemented by components that display a scale control on the map.

See

Mapbox ScaleControl

Hierarchy

  • ScaleControlProps

Properties

Properties

maxWidth?: number

Maximum length of the scale control on the display in pixels; defaults to 100.

See

Mapbox ScaleControl Parameters

unit?: "imperial" | "metric" | "nautical"

Distance units; defaults to "metric".

See

Mapbox ScaleControl Parameters

Generated using TypeDoc