calculateRoute

Calculates a route from the given coordinates to the closest reachable of the provided destination coordinates, or why there isn't one.

Since

0.0.130

Parameters

from

The coordinates to calculate the route from

to

A collection of coordinates to calculate a route to. The route returned will be to the closest of these coordinates.

options

Options the route must adhere to


Calculates a route from the given destination to the closest reachable of the provided destinations, or why there isn't one.

Since

0.0.130

Parameters

from

The destination to calculate the route from

to

A collection of destinations to calculate a route to. The route returned will be to the closest of these destinations.

options

Options the route must adhere to