Last updated

API / geotoolkit / selection / from

Module: from

Table of contents

Functions

Contents

Functions

from

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));

Parameters

Name Type Description
nodeanynode or enumerable item to start search
Optional directionDirectiontraverse direction, for Node type

Returns

QueryBuilder<any>

a new node query builder