Length Dimension

Defines the shape of a dimension that measures the distance between two points.

Referenced by: Dimension Layer

Properties

Property Details
endPoint The position of the point that a dimension is measured to (last input point).
measureType Defines whether the horizontal, vertical or direct distance between the start and end points is measured.
Valid values:
  • direct
  • horizontal
  • vertical
offset The distance of the dimension line from the nearest input point in meters.
orientation The direction that the offset of a dimension with a 'direct' measureType extends in.
startPoint The position of the point that a dimension is measured from (first input point).
type Specifies the type of the dimension.
Valid value of this property length

Example

{
  "type": "length",
  "startPoint": {
    "x": 0,
    "y": 0,
    "z": 10,
    "spatialReference": {
      "wkid": 102100
    }
  },
  "endPoint": {
    "x": 10,
    "y": 10,
    "z": 10,
    "spatialReference": {
      "wkid": 102100
    }
  },
  "measureType": "vertical",
  "offset": 2,
  "orientation": 90
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close