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
- [new Query(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.util-3.query.query.md#new query(options))
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
â–¸ getGeometry(): Point | Rect
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