D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
lampp
/
phpmyadmin
/
js
/
openlayers
/
src
/
openlayers
/
lib
/
OpenLayers
/
Filter
/
Filename :
Function.js
back
Copy
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/Filter.js */ /** * Class: OpenLayers.Filter.Function * This class represents a filter function. * We are using this class for creation of complex * filters that can contain filter functions as values. * Nesting function as other functions parameter is supported. * * Inherits from: * - <OpenLayers.Filter> */ OpenLayers.Filter.Function = OpenLayers.Class(OpenLayers.Filter, { /** * APIProperty: name * {String} Name of the function. */ name: null, /** * APIProperty: params * {Array(<OpenLayers.Filter.Function> || String || Number)} Function parameters * For now support only other Functions, String or Number */ params: null, /** * Constructor: OpenLayers.Filter.Function * Creates a filter function. * * Parameters: * options - {Object} An optional object with properties to set on the * function. * * Returns: * {<OpenLayers.Filter.Function>} */ CLASS_NAME: "OpenLayers.Filter.Function" });