Skip To ContentArcGIS for DevelopersSign In Dashboard
Object: esri/core/units
Since: ArcGIS API for JavaScript 4.18

Types of units used across the JS API.

Type Definitions

AngleUnit String

Units for angles.

Possible Values:"degrees"|"radians"

AreaUnit String

Units for areas.

Possible Values:"square-millimeters"|"square-centimeters"|"square-decimeters"|"square-meters"|"square-kilometers"|"square-inches"|"square-feet"|"square-yards"|"square-miles"|"square-us-feet"|"acres"|"ares"|"hectares"

LengthUnit String

Units for lengths.

Possible Values:"millimeters"|"centimeters"|"decimeters"|"meters"|"kilometers"|"inches"|"feet"|"yards"|"miles"|"nautical-miles"|"us-feet"

MeasurementSystem String

Measurement systems.

Possible Values:"imperial"|"metric"

SystemOrAreaUnit MeasurementSystem|AreaUnit

Measurement systems or an area units.

SystemOrLengthUnit MeasurementSystem|LengthUnit

Measurement system or an length unit.

Units for angles.

VolumeUnit String

Units for volumes.

Possible Values:"liters"|"cubic-millimeters"|"cubic-centimeters"|"cubic-decimeters"|"cubic-meters"|"cubic-kilometers"|"cubic-inches"|"cubic-feet"|"cubic-yards"|"cubic-miles"

API Reference search results

NameTypeModule
Loading...