Skip to content
Select language:English

Way-Fi 1.6.0

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

Adds a destination in the specified layer at the specified position. Multiple destinations can be added for a 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 addDestination(layerName: String, x: Double, y: Double): Int

Adds a destination in the specified layer at the specified position. Multiple destinations can be added for a 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.