new GoWMSGetFeatureInfo(OlMap, geometryPolygon, Callback, Layers)
Interactions/ExternalsConnections/interact/WMS/GoWMSGetFeatureInfo.ts, line 10
| Name | Type | Description |
|---|---|---|
OlMap |
olMap |
The map of all layers OlMap |
geometryPolygon |
Feature.<Polygon> |
New Polygon to intersect in layers to get Features. |
Callback |
function |
Callback function that the developer should always wait for a Features Array element |
Layers |
Array.<String> |
optional
The layers that you want to obtain in the intersection in case of not passing any will be done on all |
Properties:
| Name | Type | Description |
|---|---|---|
features |
Array.<Feature.<Geometry>> | any | Private - The list of the geometry |
Methods
-
getFeatures()
Interactions/ExternalsConnections/interact/WMS/GoWMSGetFeatureInfo.ts, line 76 -
This function returns an array of features, which are a combination of a geometry and a set of properties.
Returns:
An array of features.
