Class: SpatialViewQuery

SpatialViewQuery

<private> new SpatialViewQuery()

Class for dynamically constructing spatial queries. You must use ViewQuery.fromSpatial to construct this object.

Since:
  • 2.0.0 (stability: committed)

Methods

bbox(bbox) → {SpatialViewQuery}

Specifies a bounding box to query the index for. This value must be an array of exactly 4 numbers which represents the left, top, right and bottom edges of the bounding box (in that order).

Parameters:
Name Type Description
bbox Array.<number>
Since:
  • 2.0.0 (stability: committed)
Returns:
Type
SpatialViewQuery