Class: GoNearData

GoNearData

Interaction to call a hydraulic tool that lets you know which data is near to click coordinate:

new GoNearData(idNearData, pointCoordinate, lookingForData, stylePoint, styleResult)

Interactions/geoTools/nearData/index.ts, line 34
Name Type Description
idNearData String

The id from a tool

pointCoordinate Array.<number>

The coordinate data

lookingForData module:types~dataTools

The base layer to looking for near data

stylePoint module:types~ISVGIcon

The style we want to put on the clicked point

styleResult module:types~styleFromUser

The style we want to put on the result of analysis

Properties:
Name Type Description
map Array.<string>

Methods

getLayerClickNear(){VectorLayer}

Interactions/geoTools/nearData/index.ts, line 175

Get the layer of clicked point

Returns:
Type Description
VectorLayer Vector layer of the clicked point

getLayerNearData(){VectorLayer}

Interactions/geoTools/nearData/index.ts, line 166

Get the layer of near data

Returns:
Type Description
VectorLayer Vector layer of the near data