OptionalbboxBounding box of the feature. The value of the bbox member is an array of length 4, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The "bbox" values define shapes with edges that follow lines of constant longitude and latitude.
The feature class of a LineShape Feature is "LINE_SHAPE".
Point geometry for the coordinate represented by this shape point.
Coordinate of this LineShape in the parent Line geometry, as [x, y, z?].
Always "Point" because each LineShape represents one line coordinate.
id of the feature.
Editor metadata for this shape point.
The type of the feature is a string with 'Feature' as its value.
Experimental
Set the behavior options.
OptionaldragAxis?: [number, number, number] | "X" | "Y" | "Z"The drag axis across which the LineShape is dragged upon user interaction. Once "dragAxis" is set, "dragPlane" has no effect. In case "dragAxis" and "dragPlane" are set, "dragPlane" is preferred. In case "dragPlane" and "dragAxis" are both set, "dragPlane" is preferred.
OptionaldragPlane?: [number, number, number] | "XY" | "XZ" | "YZ"The normal of the plane over which the LineShape is dragged upon user interaction. Once "dragPlane" is set, "dragAxis" has no effect.
Experimental
Set the value of a specific behavior option.
Experimental
Get the value of a specific behavior option.
Experimental
Get the behavior options.
OptionaldragAxis?: [number, number, number] | "X" | "Y" | "Z"The drag axis across which the marker is dragged upon user interaction.
OptionaldragPlane?: [number, number, number] | "XY" | "XZ" | "YZ"The normal of the plane over which the marker is dragged upon user interaction.
Get the index of the shape point in the coordinates array of the respective LineString geometry.
The index of the shape point.
Get the total number of coordinates of the LineString geometry.
Number of coordinates
Get the index of the coordinate array in the MultiLineString array of LineString coordinate arrays. For Line features with a geometry of type "LineString" the lineStringIndex is 0.
the index of the coordinate array in the MultiLineString array of LineString coordinate arrays.
Get The FeatureProvider where the Feature is stored in.
Will return true or false whether the Shape is currently selected.
Removes the shape point from the geometry of the Line feature.
Select the LineShape add it to the current selection. Multiple LineShapes can be selected at the same time. When a selected shape is dragged, all other shapes in the current selection are dragged as well.
Get the Feature as a JSON Object.
Unselect the LineShape and remove from current selection.
The LineShape represents a shape-point / coordinate of a Line feature. The LineShape is only existing if the corresponding Line feature is "selected" and user based geometry editing with touch/mouse interaction is activated.
See
Line.select