Open Pioneer Trails Packages
    Preparing search index...

    Options that specify which map to use. See useMapModel.

    When not setting any of these properties on a component, the default map (from the DefaultMapProvider) will be used. If that is not available either, an error will be thrown.

    interface HistoryProps {
        buttonProps?: Partial<ButtonProps>;
        map?: MapModel;
        mapId?: string;
        viewDirection: "forward" | "backward";
    }

    Hierarchy (View Summary)

    • CommonComponentProps
    • RefAttributes<HTMLButtonElement>
    • MapModelProps
      • HistoryProps
    Index

    Properties

    buttonProps?: Partial<ButtonProps>

    Additional properties for the Button element.

    Note that the ToolButton also defines some of these props.

    map?: MapModel

    The map model to use.

    mapId?: string

    The id of the map. The map will be looked up in the MapRegistry service.

    Use the map property instead.

    viewDirection: "forward" | "backward"

    The view direction.

    The button will either view forward or view backward depending on this value.