CartoType iOS API 8.10-3-g0075538f6
for development in Swift and Objective C for iOS and Mac OS
Public Attributes | List of all members
CartoTypeTrafficInfo 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 CartoTypeTrafficInfo::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 CartoTypeTrafficInfo::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: