API / geotoolkit / controls / tools / Selection / Selection
Type Aliases
Ƭ EventMap: EventMap & { beforeSelectionChange: SelectionEventArgs ; onDoubleClick: SelectionEventArgs ; onPick: SelectionEventArgs ; onSelectionChanged: SelectionEventArgs ; onSelectionEnd: SelectionEventArgs }
Ƭ MeasureCallback: (size: number, center: Point, edge: Point) => string
▸ (size, center, edge): string
Size formatter callback for the circular rubberband mode
string
Ƭ NodeFilterCallback: (selectedVisuals: (Node | SelectedItem)[]) => (Node | SelectedItem)[]
▸ (selectedVisuals): (Node | SelectedItem)[]
| Name | Type |
|---|---|
selectedVisuals | (Node | SelectedItem)[] |
(Node | SelectedItem)[]
Ƭ 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 & { 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: (node: Node, context?: SelectionContext) => void
▸ (node, context?): void
Called on every selected node.
| Name | Type |
|---|---|
node | Node |
Optional context | SelectionContext |
void