Type Alias TDirectionZone

TDirectionZone: {
    cost: number;
    floor?: Floor;
    geometry: Feature<MultiPolygon | Polygon>;
}

Defines the special zone for navigation operations.

Type declaration

  • cost: number

    The additional cost for navigation through the zone, from 0 to Infinity. The final cost is calculated as the sum of basic cost that comes from the {@MapData } and the additional zone cost. A additional zone cost of 0 will make the zone free to navigate through A additional zone cost of Infinity will make the zone impossible to navigate through

  • Optionalfloor?: Floor

    The zone's floor, defaults to the all floors if not provided.

  • geometry: Feature<MultiPolygon | Polygon>

    The zone geometry.