new GoSelectByPolygon(OlMap, geometryPolygon, Callback, Layers)
Interactions/Selection/interact/SelectByPolygon/GoSelectByPolygon.ts, line 24
| 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 |
Extends
- GOInteractionTool
- undefined
Methods
-
inherited typeLayerHidraulic(feature){string}
Interactions/utils/GoInteractionTool.ts, line 20 -
This function allow to create a style for the hidraulic layer.
Name Type Description featuremodule:types~FeatureLike The feature to style
Returns:
Type Description string Return the new style of the feature.
