Enumerations
The following enumerations are available globally.
-
Map layer
- TTLayerTypeBasic: contains full map data, i.e. polygons, roads, borders and labels.
- TTLayerTypeHybrid: ontains borders, roads, and labels (all the map features, except geographic polygons). It can be overlaid on another map layer (such as satellite imagery) in order to produce a hybrid map.
- TTLayerTypeLabels: provides label information only (the same as the basic map layer). It can be used in situations where traffic tubes or other overlaid information cover labels of the base map layer. The labels are precisely placed in order to align with the labels on the basic layer.
Declaration
Objective-C
enum TTLayerType {}
Swift
enum TTLayerType : Int
-
Styles define two colour schemes:
- TTStyleTypeMain: general full-colour scheme with default TomTom colours.
- TTStyleTypeNight: modification of the main theme, it is changed to be less invasive than main while using it at night.
Declaration
Objective-C
enum TTStyleType {}
Swift
enum TTStyleType : Int
-
Image format to be returned
- TTExtTypePng: Image format to be returned like .png
- TTExtTypeJPG: Image format to be returned like .jpg
- TTExtTypeJPEG: Image format to be returned like .jpeg
Declaration
Objective-C
enum TTExtType {}
Swift
enum TTExtType : Int
-
@deprecated This enum is deprecated.
Declaration
Objective-C
enum TTProtocolType {}
Swift
enum TTProtocolType : Int