Options
All
  • Public
  • Public/Protected
  • All
Menu

Configuration options for the CoordinatesModel.

Hierarchy

  • CoordinatesModelConfig

Index

Properties

customCoordinateSystems

customCoordinateSystems: CoordinateSystem[]

An array of custom coordinate systems defined by the user.

defaultCoordinateDisplayTypes

defaultCoordinateDisplayTypes: string[]

An array defining which unit(s) the primary map coordinates should be displayed in. The options are "xy" - projected, "dd" - decimal degrees, "ddm" - decimal degrees & minutes, "dms" - decimal degrees, minutes, seconds, "mgrs" - Military Grid Reference System and "usng" - United States National Grid.

Optional defaultGcsWkid

defaultGcsWkid: number

The default geographic coordinate system to use. Defaults to 4326 (WGS 1984) if not specified.

Optional fractionalDigits

fractionalDigits: number

An integer denoting the number of fractional digits to round the coordinates to. Defaults to 5 if not specified.

Optional id

id: string

Optional string specifying the id of the CoordinatesModel. If initialized as a view model from the desktop/tablet/handheld json config files, the view model ID will be used. If not, it needs to be specified here.

Optional skipGeometryServiceVersionCheck

skipGeometryServiceVersionCheck: boolean

Configuration to skip checking the version of ArcGis server hosting the geometry service. If set to false (default), geo coordinate strings like USNG and MGRS will be disabled if either the geometry service version is retrieved and does not support them, or if the geometry service version cannot be retrieved. If true, then all coordinate systems will be loaded irrespective of geometry service version. Optional - defaults to false.