API / geotoolkit / selection / from
Functions
Functions
▸ from(node, direction?): QueryBuilder<any>
Query all nodes from the specified node and do the specified action
Example
import {from} from '@int/geotoolkit/selection/from';
from(node)
.where((node) => return node.getId() === 'line')
.select((node) => node.setLineStyle(mystyle));| Name | Type | Description |
|---|---|---|
node | any | node or enumerable item to start search |
Optional direction | Direction | traverse direction, for Node type |
QueryBuilder<any>
a new node query builder