Skip to content

Type Alias: RoutingConfig

ts
type RoutingConfig = {
  routeOptions?: string;
  routing: string;
};

Properties

PropertyTypeDescription
routeOptions?stringRouting options such as what transition point types to include while routing (e.g. use elevator, escalator etc) and also if shortest route needs to be used. These options are provided here - [[RouteOptions]]. Multiple routing options can be concatenated with comma. For e.g. if only elevator and escalators needs to be used then the routeOptions will be - IncludeElevators,IncludeEscalators or if only elevators needs to be used for navigation along with using the shortest route the value will be - OptimizeItinerary,IncludeElevators By default IncludeElevators,IncludeEscalators,IncludeStairs,IncludeRamps will be used if no routeOptions are provided, but if any one of these values are set in this field then it will override the default value
routingstringRouting start and destination points. Each routing point needs to be represented as <Building Id>:<Entity Id> and concatenated with comma. For e.g. if routing needs to be performed between entity id 2936 (which is present in building id 95) and another entity id 71 (which is also in the same building id 95), then routing value be - 95:2936,95:71. This can be done for more than 2 routing points as well