Parser for reading a query string and creating a simple filter.
ALKMaps. | Parser for reading a query string and creating a simple filter. |
Functions and Properties | |
regex2value | Convert the value from a regular expression string to a LIKE/ILIKE string known to the web service. |
wildcarded. | {Boolean} If true percent signs are added around values read from LIKE filters, for example if the protocol read method is passed a LIKE filter whose property is “foo” and whose value is “bar” the string “foo__ilike=%bar%” will be sent in the query string; defaults to false. |
srsInBBOX | {Boolean} Include the SRS identifier in BBOX query string parameter. |
write | Serialize an ALKMaps.Filter objects using the “simple” filter syntax for query string parameters. |
write: function( filter, params )
Serialize an ALKMaps.Filter objects using the “simple” filter syntax for query string parameters. This function must be called as a method of a protocol instance.
filter | {ALKMaps.Filter} filter to convert. |
params | {Object} The parameters object. |
{Object} The resulting parameters object.
Convert the value from a regular expression string to a LIKE/ILIKE string known to the web service.
function regex2value( value )
Serialize an ALKMaps.Filter objects using the “simple” filter syntax for query string parameters.
write: function( filter, params )