Home > @magiclane/maps-sdk > RoutePreferences > avoidGeofenceAntiAreas

RoutePreferences.avoidGeofenceAntiAreas property

Get the geofence anti-area avoidance IDs list

An anti-area geofence is an area within which boundaries the route should remain during calculation. If is true and the route cannot stay in the requested boundaries, routing will fail.

Signature:

get avoidGeofenceAntiAreas(): string[];

set avoidGeofenceAntiAreas(value: string[]);