Open Pioneer Trails Packages
    Preparing search index...

    These are the properties supported by the ScaleBar.

    interface ScaleBarProps {
        displayMode?: "bar" | "line";
        map?: MapModel;
        [key: `data-${string}`]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: `data-${string}`]: unknown

      Arbitrary data attributes.

      NOTE: The component may use data properties for its own behavior. Make sure not to overwrite required attributes.

    Index

    Properties

    Properties

    displayMode?: "bar" | "line"

    Display the scale either as a line or a bar. Defaults to "line".

    map?: MapModel

    The map model to use.