CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
Loading...
Searching...
No Matches
CtTrafficInfo Struct Reference

#include <CartoTypeRouter.h>

Public Attributes

uint32_t vehicleTypes
 
double speed
 

Detailed Description

Traffic information. This information is normally used in combination with a location reference.

Member Data Documentation

◆ speed

double CtTrafficInfo::speed

Permitted or expected speed in kph: 255 or greater means no speed limit; 0 or less means the route is forbidden.

◆ vehicleTypes

uint32_t CtTrafficInfo::vehicleTypes

Vehicle types affected by this information, taken from the KRouteAccess... bit definitions; use 0, or alternatively KRouteAccessVehicle, to select all vehicle types.


The documentation for this struct was generated from the following file: