UNPKG

openlayers

Version:

Build tools and sources for developing OpenLayers based mapping applications

20 lines (17 loc) 576 B
goog.provide('ol.format.filter.And'); goog.require('ol'); goog.require('ol.format.filter.LogicalNary'); /** * @classdesc * Represents a logical `<And>` operator between two or more filter conditions. * * @constructor * @param {...ol.format.filter.Filter} conditions Conditions. * @extends {ol.format.filter.LogicalNary} * @api */ ol.format.filter.And = function(conditions) { var params = ['And'].concat(Array.prototype.slice.call(arguments)); ol.format.filter.LogicalNary.apply(this, params); }; ol.inherits(ol.format.filter.And, ol.format.filter.LogicalNary);