Open Pioneer Trails Packages
    Preparing search index...

    These are properties supported by the Geolocation component.

    interface GeolocationProps {
        accuracyFeatureStyle?: StyleLike;
        buttonProps?: Partial<ButtonProps>;
        map?: MapModel;
        maxZoom?: number;
        positionFeatureStyle?: StyleLike;
        trackingOptions?: PositionOptions;
        [key: `data-${string}`]: unknown;
    }

    Hierarchy (View Summary)

    • CommonComponentProps
    • RefAttributes<HTMLButtonElement>
    • MapModelProps
      • GeolocationProps

    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

    accuracyFeatureStyle?: StyleLike

    Style to be applied for the accuracy highlight of the positioning feature.

    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.

    maxZoom?: number

    The default maximal zoom level

    positionFeatureStyle?: StyleLike

    Style to be applied for the positioning highlight feature.

    trackingOptions?: PositionOptions

    Position options for the Geolocation-Object. See PositionOptions for more details.

    NOTE: Changing the tracking options at runtime will reset the component's state.