ru.dgis.sdk.routing.ExcludedArea | Android SDK | 2GIS Documentation
Android SDK

ExcludedArea

Excluded area to be avoided when building a route.

ExcludedArea(
	type: ExcludedAreaType = ExcludedAreaType.POINT,
	severity: ExcludedAreaSeverity = ExcludedAreaSeverity.SOFT,
	extent: RouteDistance,
	points: List<GeoPoint>
)

Excluded area to be avoided when building a route.

Parameters
Properties

Type of the excluded area.

Priority of excluding the area.

Size of the excluded area (not more than 25 km).

Coordinates of the points of the excluded area (not more than 500).