computeReversedIsochrone

fun computeReversedIsochrone(center: GeoPoint, limit: Int, routeOptions: RouteOptions, listener: ComputeIsochroneListener)

Builds the reversed isochrone polygon around a set of locations situated at a given distance or time of the given center (through the road network).

It can also compute the reachable zone for electric vehicles using the current SoC in Wh for the limit Note: for the EV reachable zone, routeOptim in routeOptions must be set to RouteOptim.ECO and routeCriteria in routeOptions must have RouteCriteria.DEFAULT

Parameters

center

The center location of the isochrone that must be a map-matched GeoPoint (see Address.create for getting a map-matched GeoPoint from basic coordinates)

limit

The limit of the isochrone. Either meters or seconds or Wh depending on routeOptions :

routeOptions

An object that contains all the parameters that the user would like to set for the isochrone computation. For computing an EV reachable zone, RouteOptions.vehicle must have a VehicleModel which must have an EVProfile

listener

defines the callback that will be called for the computation.