Class: GoNearPoint

GoNearPoint

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

new GoNearPoint(idNearPoint, pointCoordinate, lookingForData, svgIcon, stylePoint, styleFromUser)

Interactions/geoTools/nearPoint/index.ts, line 35
Name Type Description
idNearPoint String

The id from a tool

pointCoordinate Array.<number>

The coordinate data

lookingForData module:types~dataTools

The base layer to looking for near data

svgIcon string

the svg to visualization in point layer

stylePoint module:types~ISVGIcon

The style we want to put on the Valves drawing layer

styleFromUser module:types~styleFromUser

The style we want to put on the Valves drawing layer

Properties:
Name Type Description
map Array.<string>

Methods

getLayerClickNear(){VectorLayer}

Interactions/geoTools/nearPoint/index.ts, line 176

Get the layer of clicked point

Returns:
Type Description
VectorLayer Vector layer of the clicked point

getLayerNearData(){VectorLayer}

Interactions/geoTools/nearPoint/index.ts, line 167

Get the layer of near data

Returns:
Type Description
VectorLayer Vector layer of the near data