Open Pioneer Trails Packages
    Preparing search index...

    These are special properties for the CoordinateViewer.

    interface CoordinateViewerProps {
        displayProjectionCode?: string;
        format?: "decimal" | "degree";
        map?: MapModel;
        mapId?: string;
        precision?: number;
    }

    Hierarchy (View Summary)

    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.

    mapId?: string

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

    Use the map property instead.

    precision?: number

    Number of decimal places shown for coordinates.