ScaleControl

A component that adds a ScaleControl to a map.

Props

position 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' (optional)

The position on the map where the control will be added. Defaults to top-right.