Module
GeoBboxFilter
GeoBboxFilter ( fieldName )
Filter results to those which are contained within the defined bounding box.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | bottomRight(p) | Sets the bottom-right coordinate of the bounding box |
Object | cache(trueFalse) | Enable or disable caching of the filter |
Object | cacheKey(key) | Sets the cache key. |
Object | field(f) | Sets the fields to filter against. |
Object | name(name) | Sets the filter name. |
Object | normalize(trueFalse) | If the lat/long points should be normalized to lie within their respective normalized ranges. Normalized ranges are: lon = -180 (exclusive) to 180 (inclusive) range lat = -90 to 90 (both inclusive) range |
Object | toJSON() | Returns the filter object. |
Object | topLeft(p) | Sets the top-left coordinate of the bounding box |
Object | type(type) | Sets the type of the bounding box execution. Valid values are "memory" and "indexed". Default is memory. |
Method Detail
bottomRight
Object bottomRight ( p )
Sets the bottom-right coordinate of the bounding box
|
cache
Object cache ( trueFalse )
Enable or disable caching of the filter
|
cacheKey
Object cacheKey ( key )
Sets the cache key.
|
field
Object field ( f )
Sets the fields to filter against.
|
name
Object name ( name )
Sets the filter name.
|
normalize
Object normalize ( trueFalse )
If the lat/long points should be normalized to lie within their
respective normalized ranges.
Normalized ranges are:
lon = -180 (exclusive) to 180 (inclusive) range
lat = -90 to 90 (both inclusive) range
|
topLeft
Object topLeft ( p )
Sets the top-left coordinate of the bounding box
|
type
Object type ( type )
Sets the type of the bounding box execution. Valid values are
"memory" and "indexed". Default is memory.
|