API / geotoolkit / map / util / Query / Query
This layer is a collection of geotoolkit shapes that will be displayed on a map Setting the limits will change the extents of the map.
Constructors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
geometry | Rect | Spatial geometry in map coordinate system to define the query |
geometry-height | number | Height |
geometry-readonly | boolean | Readonly |
geometry-width | number | Width |
geometry-x | number | Left |
geometry-y | number | Top |
geometry | Point | Spatial geometry in map coordinate system to define the query |
geometry-x | number | X coordinate |
geometry-y | number | Y coordinate |
name | string | Name |
Methods
▸ getClassName(): string
string
▸ getFilter(): (feature: AbstractFeature) => boolean
gets the filter for this query
fn
▸ (feature): boolean
gets the filter for this query
| Name | Type |
|---|---|
feature | AbstractFeature |
boolean
gets the geometry for this query
▸ getName(): string
gets the name field for this query
string
▸ getProperties(): Options
Returns the properties for this query
options
▸ setFilter(filter): Query
sets the filter for this query
| Name | Type | Description |
|---|---|---|
filter | (feature: AbstractFeature) => boolean | filter function |
▸ setGeometry(geo): Query
sets the geometry for this query
| Name | Type | Description |
|---|---|---|
geo | Rect | geometry |
▸ setName(name): Query
sets the name field for this query
| Name | Type | Description |
|---|---|---|
name | string | name |
▸ setProperties(properties?): Query
sets the search properties for this query
| Name | Type | Description |
|---|---|---|
Optional properties | Options | options |
this
▸ Static getClassName(): string
string