getResultPolygons method

List<ServiceAreaPolygon> getResultPolygons({
  1. required int facilityIndex,
})

Gets array of the result polygons.

Result polygons are only returned if the returnPolygons property of ServiceAreaParameters is true.

Parameters:

  • facilityIndex — The index of facility.

Return Value: If enabled, the resulting polygons.