new GoNearDataAttributes(idInteraction, coordinates, layer, stylePoint, styleResult)
Interactions/geoTools/nearDataAttributes/index.ts, line 32
| Name | Type | Description |
|---|---|---|
idInteraction |
String |
The id from a tool |
coordinates |
Array.<number> |
The coordinate data |
layer |
module:types~dataTools |
The base layer to looking for near data attributes |
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
-
getLayerClickNearAttributes(){VectorLayer}
Interactions/geoTools/nearDataAttributes/index.ts, line 169 -
Get the layer of clicked point
Returns:
Type Description VectorLayer Vector layer of the clicked point -
getLayerNearDataAttributes(){VectorLayer}
Interactions/geoTools/nearDataAttributes/index.ts, line 157 -
Get the layer of near data
Returns:
Type Description VectorLayer Vector layer of the near data
