CartoType iOS API 7.8.2, 2022-03-25
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 KArc... bit definitions; use 0, or alternatively KArcAllVehicles, to select all vehicle types.


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