OpenLayers v4.0.1 API - Class: Within

# Class: Within

This documentation is for OpenLayers v4.0.1. The latest is v.

## ol.format.filter.Within

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

#### new ol.format.filter.Within(geometryName, geometry, opt_srsName)

src/ol/format/filter/within.js, line 20

  Name | Type | Description
  --- | --- | ---
  `geometryName` | string | Geometry name to use.
  `geometry` | ol.geom.Geometry | Geometry.
  `srsName` | string | SRS name. No srsName attribute will be set on geometries when this is not provided.

### Extends

- ol.format.filter.Spatial