Class: GoRotation

GoRotation

Interaction that allows creating a polygon and obtaining the elements that intersect with it:

new GoRotation(OlMap, geometryPolygon, Callback, Layers)

Interactions/Views/interact/Rotation/GoRotation.ts, line 9
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