@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
51 lines (50 loc) • 1.73 kB
TypeScript
import type { CoordinateFormat } from "../common/CoordinateFormat.js";
import type { MapCoordinatesModelProperties as CommonMapCoordinatesModelProperties } from "../common/MapCoordinatesModelProperties.js";
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
/**
* @inheritdoc
*/
export interface MapCoordinatesModelProperties extends CommonMapCoordinatesModelProperties, ComponentModelProperties {
/**
* The coordinate format that is displayed. The default is XY.
*
* @deprecated
*/
coordinateFormat?: CoordinateFormat;
/**
* The number of decimal places displayed for LAT_LONG coordinate formats.
* The value must be an integer between 0 and 8 (inclusive). The default is
* 4.
*
* @deprecated
*/
decimalPlacesLatLong?: number;
/**
* The number of decimal places displayed for the XY coordinate format. The
* value must be an integer between 0 and 8 (inclusive). The default is 2.
*
* @deprecated
*/
decimalPlacesXY?: number;
/**
* The precision with which to represent the coordinates, when using the
* MGRS format. The value must be an integer between 0 and 8 (inclusive).
* The default is 5.
*
* @deprecated
*/
precisionMGRS?: number;
/**
* The precision with which to represent the coordinates, when using the
* USNG format. The value must be an integer between 0 and 8 (inclusive).
* The default is 5.
*
* @deprecated
*/
precisionUSNG?: number;
/**
* Whether or not the corresponding component should render the coordinate
* format selector. The default is true.
*/
showCoordinateFormats?: boolean;
}