Allow overlapping of ranges on the desired side(s).
Set an event listener that will be called when a range is dragged.
Set an event listener that will be called when a range drag starts.
Set an event listener that will be called when a range drag has been finished.
Relative start position on the line geometry. 0 -> 0% -> start, 0.5 -> 50% -> middle, 1 -> 100% -> end
Optional identifier of the Range
lock the range and prevent dragging/editing of the Range.
A range can consist of several segments. A Segment provides detailed information on the affected GeoJSONFeatures/Navlinks:
Side of the Range. Relative to the direction of travel of the line geometry. "L" | "R" | "B" -> Left, Right or Both sides.
Automatically snap to Markers of Ranges on the desired side(s) within a given threshold.
The threshold in meters for automatic range snapping.
Apply custom styling of Range. Objects of key value pairs.
Relative end position on the line geometry. 0.5 -> 50% -> middle, 1 -> 100% -> end
Generated using TypeDoc
A Range represents a part/subsegment on a line geometry or multiple line geometries. It's used by the RangeSelector utility. editor.RangeSelector