Last updated

API / geotoolkit / controls / tools / Selection / Selection

Namespace: Selection

tools.Selection.Selection

Table of contents

Type Aliases

Contents

Type Aliases

EventMap

Ƭ EventMap: EventMap & { beforeSelectionChange: SelectionEventArgs ; onDoubleClick: SelectionEventArgs ; onPick: SelectionEventArgs ; onSelectionChanged: SelectionEventArgs ; onSelectionEnd: SelectionEventArgs }


MeasureCallback

Ƭ MeasureCallback: (size: number, center: Point, edge: Point) => string

Type declaration

▸ (size, center, edge): string

Size formatter callback for the circular rubberband mode

Parameters
Name Type
sizenumber
centerPoint
edgePoint
Returns

string


NodeFilterCallback

Ƭ NodeFilterCallback: (selectedVisuals: (Node | SelectedItem)[]) => (Node | SelectedItem)[]

Type declaration

▸ (selectedVisuals): (Node | SelectedItem)[]

Parameters
Name Type
selectedVisuals(Node | SelectedItem)[]
Returns

(Node | SelectedItem)[]


Options

Ƭ Options: Options & { autodisabled?: boolean ; circularmode?: CircularMode ; fillstyle?: Type ; linestyle?: Type ; measurecallback?: MeasureCallback | null ; mode?: SelectionMode ; nodefilter?: NodeFilterCallback | null ; pointermode?: PointerMode ; rootnode?: Node ; rubberbandmode?: RubberBandMode ; rubberbandshapemode?: RubberBandShapeMode ; selectionmode?: SelectionMode ; selectorcallback?: SelectorCallback | null ; textstyle?: Type }

options


OptionsOut

Ƭ OptionsOut: OptionsOut & { autodisabled?: boolean ; circularmode?: CircularMode ; fillstyle?: Type ; linestyle?: Type ; measurecallback?: MeasureCallback | null ; nodefilter?: NodeFilterCallback | null ; pointermode?: PointerMode ; rootnode?: Node ; rubberbandmode?: RubberBandMode ; rubberbandshapemode?: RubberBandShapeMode ; selectionmode?: SelectionMode ; selectorcallback?: SelectorCallback | null ; textstyle?: Type }

options


SelectorCallback

Ƭ SelectorCallback: (node: Node, context?: SelectionContext) => void

Type declaration

▸ (node, context?): void

Called on every selected node.

Parameters
Name Type
nodeNode
Optional contextSelectionContext
Returns

void