• The ScaleControl shows a scale in meters per pixel.

    The control is positioned using x and {y}. Negative coordinates mean offsets from right and bottom. A width may be provided, which defaults to 100.

    Example

    <ScaleControl {...this.state.viewState} width={200} x={10} y={-62}/>
    

    Parameters

    Returns Element

Generated using TypeDoc