Class: GoWatershed

GoWatershed

Interaction to call a hydraulic tool that lets you know which data is closest to a any distance setted

new GoWatershed()

Interactions/geoTools/watershed/index.ts, line 21

Methods

getLayerWatershedData(){VectorLayer}

Interactions/geoTools/watershed/index.ts, line 135

Get the layer of watershed

Returns:
Type Description
VectorLayer Vector layer of the watershed

init(idWatershed, dataWatershed, map, style){CancelablePromise.<(GeoJSON|undefined)>}

Interactions/geoTools/watershed/index.ts, line 49

Method to init the watershed tool

Name Type Description
idWatershed String

The id from a tool

dataWatershed module:types~watershedDataParams

The info where we want to compute the Watershed

map GOStagingMap

Map

style module:types~styleFromUser

The style we want to put on the Watershed layer

Returns:
Type Description
CancelablePromise.<(GeoJSON|undefined)> CancelablePromise with the buffer info