Class: DWithin

ol/format/filter/DWithin~DWithin


import DWithin from 'ol/format/filter/DWithin.js';

Represents a <DWithin> operator to test whether a geometry-valued property is within a distance to a given geometry.

new DWithin(geometryName, geometry, distance, unit, srsName)

Name Type Description
geometryName string

Geometry name to use.

geometry Geometry

Geometry.

distance number

Distance.

unit string

Unit.

srsName string | undefined

SRS name. No srsName attribute will be set on geometries when this is not provided.

Extends

  • Spatial