Remapgl
Edit page
Getting Started
API
AttributionGeolocateLayerMapMarkerNavigationPopupScaleProps
Guides

Scale

The <Scale/> component is a child of Map, it creates the scale control in the map that displays the ratio of a distance on the map to the corresponding distance on the ground.

Props

maxWidth
number | undefined
position
"top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined
unit
"metric" | "imperial" | "nautical" | undefined