Skip to content
Select language:English

Way-Fi 1.6.0

This class represents a route found by the WayFinder.findShortestPath method.

Types

class Node(oidNode: Int, val originalId: Int, val layerId: Int, val x: Double, val y: Double, val mask: UInt, val type: UInt, val cost: Float)

Represents a node of the route

Properties

val cost: Float

The total cost of this route.

Returns true if the native resources of this object has not been released.

Provides access to the nodes of this route.

Functions

open override fun close()

Release the native resources.

fun export(fileName: String)

Exports the route in a GeoJSON file.

open override fun release()

Release the native resources.