Constructors

Properties

currentShape: null | DrawingShape = null
draw: null | Draw = null
drawingSource: VectorSource<Feature<Geometry>>
featuresMap: Map<string, { feature: Feature<Geometry>; shape: DrawingShape }> = ...
fixedLength: number = 0
modifiableFeatures: Collection<Feature<Geometry>> = ...
modify: null | Modify = null
snap: null | Snap = null
state: State

Methods

  • Parameters

    • coordinates: SketchCoordType
    • geom: SimpleGeometry

    Returns SimpleGeometry

  • Parameters

    • coordinates: SketchCoordType
    • geom: SimpleGeometry

    Returns SimpleGeometry

  • Parameters

    • coordinates: SketchCoordType
    • geom: SimpleGeometry

    Returns SimpleGeometry

  • Parameters

    • coordinates: SketchCoordType
    • geom: SimpleGeometry
    • proj: Projection

    Returns SimpleGeometry

  • Parameters

    • coordinate: Coordinate
    • filter: (f: Feature<Geometry>) => boolean = ...

    Returns undefined | [Coordinate, Feature<Geometry>]