Open Pioneer Trails Packages
    Preparing search index...

    These are properties supported by the Geolocation component.

    interface GeolocationProps {
        accuracyFeatureStyle?: StyleLike;
        buttonProps?: Partial<ButtonProps>;
        map?: MapModel;
        mapId?: string;
        maxZoom?: number;
        positionFeatureStyle?: StyleLike;
        trackingOptions?: PositionOptions;
    }

    Hierarchy (View Summary)

    • CommonComponentProps
    • RefAttributes<HTMLButtonElement>
    • MapModelProps
      • GeolocationProps
    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.

    mapId?: string

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

    Use the map property instead.

    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.