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

# Class: PlotEdit

plot.tool.PlotEdit

# Hierarchy

  • Observable

    PlotEdit

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

new PlotEdit(map)

# Parameters

Name Type Description
map Map

# Overrides

Observable.constructor

# Properties

# Constants

Constants: Object

# Type declaration

Name Type
HELPER_CONTROL_POINT_DIV string
HELPER_HIDDEN_DIV string

# activeControlPointId

activeControlPointId: number = null


# activePlot

activePlot: any = null


# controlPointMouseMoveHandlerKey

controlPointMouseMoveHandlerKey: EventsKey = null


# controlPointMouseUpHandlerKey

controlPointMouseUpHandlerKey: EventsKey = null


# controlPoints

controlPoints: Overlay[] = null


# elementTable

elementTable: Object = {}


# ghostControlPoints

ghostControlPoints: Coordinate[] = null


# mapDragPan

mapDragPan: DragPan = null


# map_

map_: Map = null


# mouseOver

mouseOver: boolean = false


# plotMouseDownHandlerKey

plotMouseDownHandlerKey: EventsKey = null


# plotMouseMoveHandlerKey

plotMouseMoveHandlerKey: EventsKey = null


# plotMouseOverOutHandlerKey

plotMouseOverOutHandlerKey: EventsKey = null


# plotMouseUpHandlerKey

plotMouseUpHandlerKey: EventsKey = null


# startPoint

startPoint: Coordinate = null

# Methods

# activate

activate(plot): void

# Parameters

Name Type Description
plot any

# Returns

void


# controlPointMouseDownHandler

controlPointMouseDownHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# controlPointMouseMoveHandler

controlPointMouseMoveHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# controlPointMouseMoveHandler2

controlPointMouseMoveHandler2(e): void

# Parameters

Name Type Description
e any

# Returns

void


# controlPointMouseUpHandler

controlPointMouseUpHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# deactivate

deactivate(): void

# Returns

void


# destroyHelperDom

destroyHelperDom(): void

# Returns

void


# disableMapDragPan

disableMapDragPan(): void

# Returns

void


# disconnectEventHandlers

disconnectEventHandlers(): void

# Returns

void


# enableMapDragPan

enableMapDragPan(): void

# Returns

void


# getControlPoints

getControlPoints(): any

# Returns

any


# getMapParentElement

getMapParentElement(): ParentNode

# Returns

ParentNode


# initControlPoints

initControlPoints(): void

# Returns

void


# initHelperDom

initHelperDom(): void

# Returns

void


# plotMouseDownHandler

plotMouseDownHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# plotMouseMoveHandler

plotMouseMoveHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# plotMouseOverOutHandler

plotMouseOverOutHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# plotMouseUpHandler

plotMouseUpHandler(e): void

# Parameters

Name Type Description
e any

# Returns

void


# setMap

setMap(map): void

# Parameters

Name Type Description
map Map

# Returns

void