@gis-js/utilsol / Exports / plot / tool / PlotDraw

# Class: PlotDraw

plot.tool.PlotDraw

# Hierarchy

  • Observable

    PlotDraw

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

new PlotDraw(opt_options)

# Parameters

Name Type Description
opt_options any

# Overrides

Observable.constructor

# Properties

# dblClickZoomInteraction

dblClickZoomInteraction: DoubleClickZoom = null


# drawLayer

drawLayer: VectorLayer<any> = null


# drawSource

drawSource: VectorSource<any> = null


# feature

feature: Feature<any> = null


# mapDoubleClickHandlerKey

mapDoubleClickHandlerKey: EventsKey = null


# mapFirstClickHandlerKey

mapFirstClickHandlerKey: EventsKey = null


# mapMouseMoveHandlerKey

mapMouseMoveHandlerKey: EventsKey = null


# mapNextClickHandlerKey

mapNextClickHandlerKey: EventsKey = null


# map_

map_: Map = null


# plot

plot: Geometry = null


# plotParams

plotParams: Object = null


# plotType

plotType: PlotTypes = null


# points

points: Coordinate[] = null


# style

style: Style = null

# Methods

# activate

activate(type, params): void

# Parameters

Name Type Description
type PlotTypes
params Object

# Returns

void


# activateMapTools

activateMapTools(): void

# Returns

void


# deactivate

deactivate(): void

# Returns

void


# deactivateMapTools

deactivateMapTools(): void

# Returns

void


# disconnectEventHandlers

disconnectEventHandlers(): void

# Returns

void


# drawEnd

drawEnd(): void

# Returns

void


# isDrawing

isDrawing(): boolean

# Returns

boolean


# mapDoubleClickHandler

mapDoubleClickHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# mapFirstClickHandler

mapFirstClickHandler(e): void

# Parameters

Name Type Description
e MapBrowserEvent<any>

# Returns

void


# mapMouseMoveHandler

mapMouseMoveHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# mapNextClickHandler

mapNextClickHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# setMap

setMap(map): void

# Parameters

Name Type Description
map Map

# Returns

void


# setStyle

setStyle(style): void

# Parameters

Name Type
style any

# Returns

void