Class: DWithin

ol/format/filter/DWithin~DWithin


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

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, opt_srsName)

Name Type Description
geometryName string

Geometry name to use.

geometry module:ol/geom/Geometry~Geometry

Geometry.

distance number

Distance.

unit string

Unit.

srsName string

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

Extends

  • module:ol/format/filter/Spatial~Spatial