Open Pioneer Trails Packages
    Preparing search index...

    These are special properties for the CoordinateViewer.

    interface CoordinateViewerProps {
        displayProjectionCode?: string;
        format?: "decimal" | "degree";
        map?: MapModel;
        precision?: number;
        [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

    displayProjectionCode?: string

    Projection of the coordinates shown in the rendered HTML, does not affect the map projection

    format?: "decimal" | "degree"

    Configures the display format. By default, the current coordinates are shown as decimal numbers (format: "decimal").

    If the format is set to "degree", the coordinates are shown in angular degrees (DMS). This can only be used meaningfully (at this time) if the underlying projection provides lat/lon coordinates.

    map?: MapModel

    The map model to use.

    precision?: number

    Number of decimal places shown for coordinates.