ClosestFacilityTask.withGeodatabase constructor

ClosestFacilityTask.withGeodatabase({
  1. required Uri databaseFileUri,
  2. required String networkName,
})

Creates a closest facility task with path to geodatabase.

Parameters:

  • databaseFileUri — A path to geodatabase.
  • networkName — A network name.