Options
All
  • Public
  • Public/Protected
  • All
Menu

Drawing Control for drawing a bounding box

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected context

Protected drawingActive

drawingActive: boolean

Protected geoFormat

geoFormat: GeoJSON

Protected mouseDragActive

mouseDragActive: boolean

Protected properties

properties: GeoProps

Protected receiver

Methods

Protected applyPropertiesToFeature

  • applyPropertiesToFeature(feature: Feature): void

cancelDrawing

  • cancelDrawing(): void

extentChanged

extentToGeoJSON

Protected featureToGeo

getDefaultStaticStyle

  • getDefaultStaticStyle(): Style | Style[]

getGeoType

  • getGeoType(): ol.geom.GeometryType

getProperties

getShape

isActive

  • isActive(): boolean

isDrawing

  • isDrawing(): boolean

isMouseDragActive

  • isMouseDragActive(): boolean

setActive

  • setActive(active: boolean): void

setGeo

setProperties

  • setProperties(properties: GeoProps): void

startDrawing

  • startDrawing(): void

Private startDrawingInteraction

  • startDrawingInteraction(drawInteraction: Interaction): void

Protected writeExtendedGeoJSON

Generated using TypeDoc