Open Pioneer Trails Packages
    Preparing search index...

    Properties for the CoordinateSearch.

    interface CoordinateSearchProps {
        map?: MapModel;
        onClear?: () => void;
        onSelect?: (event: CoordinatesSelectEvent) => void;
        projections?: ProjectionInput[];
        [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

    map?: MapModel

    The map model to use.

    onClear?: () => void

    Optional event that gets called if the input is cleared.

    onSelect?: (event: CoordinatesSelectEvent) => void

    Optional event that gets called if some coordinates are entered or projection is changed by the user.

    projections?: ProjectionInput[]

    Searchable projections, only projections that are known by the map as projection are shown. Each projection can have an individual precision of coordinates. If no precision is given, the default precision is used.