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:
|
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
}