Skip to content
Select language:English

Way-Fi 1.6.0

fun addSource(idLayer: Int, x: Double, y: Double): Int

Adds the source in the specified layer at the specified position. Only one source can be added for each search.

Return

The id of node added in the graph.

Parameters

idLayer

The id of the layer.

x

The x coordinate of the point.

y

The y coordinate of the point.


fun addSource(layerName: String, x: Double, y: Double): Int

Adds the source in the specified layer at the specified position. Only one source can be added for each search.

Return

The id of node added in the graph.

Parameters

layerName

The name of the layer.

x

The x coordinate of the point.

y

The y coordinate of the point.