Options
All
  • Public
  • Public/Protected
  • All
Menu

Constructor options for CreateController.

Hierarchy

  • CreateControllerConstructorOptions

Overview

Properties

Optional finishOnSingleClick

finishOnSingleClick: boolean

Indicates whether to finish editing on a single-click event, or a double-click event (the default)

Optional freehand

freehand: boolean

Indicates whether to allow drawing shapes in "freehand" mode. When this is enabled, the user can click / tap near the last created point and drag to draw a shape. Multiple points will be inserted while the mouse is being dragged.

When this is disabled, the user can only create (single) points by clicking / tapping the map.

since

2021.1.06

default

true

Optional handleIconStyle

handleIconStyle: IconStyle

The style of the handles.

Optional helperStyle

helperStyle: ShapeStyle

The style that editing helper lines will be drawn in

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method