Enumerations
The following enumerations are available globally.
-
The enumerate of TTLogoVerticalPosition.
- top: Logo will be constrained to the top edge of MapView.
- bottom: Logo will be constrained to the bottom edge of MapView.
Declaration
Objective-C
enum TTLogoVerticalPosition {} -
The enumerate of TTLogoHorizontalPosition.
- left: Logo will be constrained to the left edge of MapView.
- right: Logo will be constrained to the right edge of MapView.
Declaration
Objective-C
enum TTLogoHorizontalPosition {} -
TTLayerVisibility Enumeration Cases
- TTLayerVisibilityOriginal: The visibility of all layers set by the style remains unchanged.
- TTLayerVisibilityVisible: The visibility of all layers is set to visible.
- TTLayerVisibilityNone: The visibility of all layers is set to none.
Declaration
Objective-C
enum TTLayerVisibility {}Swift
enum TTLayerVisibility : Int -
@deprecated TTMapTilesType This enum is deprecated. Use the method from TTStyleManager loadStyleFromUrl or loadStyleFromJson, property currentStyle, and methods from TTMapStyle.
TTMapTilesType Enumeration Cases
- TTMapTilesVector: TTMapTilesVector - Vector tiles.
- TTMapTilesRaster: TTMapTilesRaster - Raster tiles.
Declaration
Objective-C
enum TTMapTilesType {}Swift
enum TTMapTilesType : Int -
TTUserTrackingMode Enumeration Cases
- TTUserTrackingNone: The map does not display the current location indicator/radius.
- TTUserTrackingFollow: Display the current location indicator/radius.
- TTUserTrackingFollowWithHeading: The map follows the user location and rotates when the heading changes.
Declaration
Objective-C
enum TTUserTrackingMode {}Swift
enum TTUserTrackingMode : Int -
TTMapLayersType Enumeration Cases
- TTMapLayersNone: TTMapLayersNone - No layers.
- TTMapLayersHybrid: TTMapLayersHybrid - Hybrid layer (layers and road).
Declaration
Objective-C
enum TTMapLayersType {}Swift
enum TTMapLayersType : Int -
@deprecated TTTrafficIncidentsStyle
Declaration
Objective-C
enum TTTrafficIncidentsStyle {}Swift
enum TTTrafficIncidentsStyle : Int -
Enumerate of TTGeoView elements
- TTGeoViewNone: Disabling the geopolitical view
- TTGeoViewIL: Geopolitical view for Israel avable only on vector Tiles
- TTGeoViewIN: Geopolitical view for India avable on raster and vector
Declaration
Objective-C
enum TTGeoView {}Swift
enum TTGeoView : Int -
Enumerate of TTOptionGesturesDisable
- TTOptionGesturesDisableNone:
- TTOptionGesturesDisableZoom: Disable zoom gestures on map
- TTOptionGesturesDisableScroll: Disable scroll gestures on map
- TTOptionGesturesDisablePinch: Disable pinch gestures on map
- TTOptionGesturesDisableRotate: Disable rotate gestures on map
- TTOptionGesturesDisableTilt: Disable tilt gestures on map
Declaration
Objective-C
enum TTOptionGesturesDisable {}Swift
struct TTOptionGesturesDisable : OptionSet -
Enumerate of TTMapCameraChangeState
- TTMapCameraChangeStateBegin: Called when map will begin changing camera viewport.
- TTMapCameraChangeStateChanged: Called when changing the camera viewport is in progress.
- TTMapCameraChangeStateEnd: Called when camera viewport change is finished.
Declaration
Objective-C
enum TTMapCameraChangeState {}Swift
enum TTMapCameraChangeState : Int -
Enumerate of TTMapPanningState
- TTMapPanningBegin: Passed in the call of didPanning when panning by gesture. starts
- TTMapPanningOngoing: Passed in the call of didPanning when panning by gesture. continues
- TTMapPanningFinished: Passed in the call of didPanning when panning by gesture is finished. stops
Declaration
Objective-C
enum TTMapPanningState {}Swift
enum TTMapPanningState : Int -
Enumerate of TTMapCenteredState
- TTMapCenteredFinish: Called when a centering operation is finished.
- TTMapCenteredCancel: Called when a centering operation is canceled.
Declaration
Objective-C
enum TTMapCenteredState {}Swift
enum TTMapCenteredState : Int -
TTAnnotationAnchor
Declaration
Objective-C
enum TTAnnotationAnchor {}Swift
enum TTAnnotationAnchor : Int -
TTAnnotationType
Declaration
Objective-C
enum TTAnnotationType {}Swift
enum TTAnnotationType : Int -
TTAnnotationDragState
Declaration
Objective-C
enum TTAnnotationDragState {}Swift
enum TTAnnotationDragState : UInt -
TTLineCapType
Declaration
Objective-C
enum TTLineCapType {}Swift
enum TTLineCapType : Int -
TTLineJoinType
Declaration
Objective-C
enum TTLineJoinType {}Swift
enum TTLineJoinType : Int -
Enums the visibility of this layer.
- TTMapLayerVisibilityVisible: TTMapLayerVisibilityVisible
- TTMapLayerVisibilityNone: TTMapLayerVisibilityNone
Declaration
Objective-C
enum TTMapLayerVisibility {}Swift
enum TTMapLayerVisibility : Int -
TTTrackingObjectType
Declaration
Objective-C
enum TTTrackingObjectType {}Swift
enum TTTrackingObjectType : Int -
TTLeftHandStatus
Declaration
Objective-C
enum TTLeftHandStatus {}Swift
enum TTLeftHandStatus : Int -
TTTollRoadStatus
Declaration
Objective-C
enum TTTollRoadStatus {}Swift
enum TTTollRoadStatus : Int -
@deprecated This enum is deprecated. Use method from TTStyleManager loadStyleFromUrl or loadStyleFromJson, property currentStyle and methods from TTMapStyle.
Raster tile type enumeration
- TTRasterTileRelative: Speed relative to free-flow, highlighting areas of congestion.
- TTRasterTileAbsolute: Reflect the absolute speed.
- TTRasterTileRelativeDelay: Relative speed values different from the ones for the freeflow.
- TTRasterStyleReducedSensitivity: Reduced-sensitivity displays relative speeds but larger difference from freeflow (depending on FRC) is required for segment to change the color.
Declaration
Objective-C
enum TTRasterStyle {}Swift
enum TTRasterStyle : Int -
@deprecated TTTile
- TTTileVector: vector tile
- TTTileRaster: raster tile
Declaration
Objective-C
enum TTTile {}Swift
enum TTTile : Int -
@deprecated This enum is deprecated. Use method from TTStyleManager loadStyleFromUrl or loadStyleFromJson, property currentStyle and methods from TTMapStyle.
Vector tile type enumeration
- TTVectorTileRelative: Speed relative to free-flow, highlighting areas of congestion.
- TTVectorTileAbsolute: Reflect the absolute speed.
- TTVectorTileRelativeDelay: Relative speed values different from the ones for the freeflow.
Declaration
Objective-C
enum TTVectorStyle {}Swift
enum TTVectorStyle : Int
Enumerations Reference