Structures
The following structures are available globally.
-
Camera options type.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct CameraOptions : Equatable
-
A type that represents CameraProperties: position, zoom, tilt and rotation
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct CameraProperties
-
A type that represents a set of coordinates and the padding around them.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct FitToCoordinatesOptions : Equatable
-
Defines map visible region as
CLLocationCoordinate2D
coordinates.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct VisibleRegion
-
An OptionSet that defines available gestures for
ExclusiveGestureManager.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct GestureType : OptionSet, Hashable
-
MapGestureDisableOption
An option set defining the map gestures to be disabled.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct MapGestureDisableOption : OptionSet, Hashable
-
Allows the user to configure the initial parameters of the map.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct MapOptions
-
Allows main and dark styles to be set. If dark style is not provided, setting
TomTomMap.styleMode
has no effect.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct StyleContainer
extension StyleContainer: Equatable
-
Defines the location of the map style.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct StyleDefinition
extension StyleDefinition: Equatable
-
Defines size for chevron or pointer for particular zoom level.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct PositionMarkerSize
extension PositionMarkerSize: Equatable
-
Tile source definition. Details can be found: https://github.com/mapbox/tilejson-spec
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct TilesDefinition : Codable
-
The SourceCollection
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct SourceCollection : Decodable
-
A type that represents circle options.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct CircleOptions : AnnotationOptions, Equatable
-
Scene color.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct SceneColor : Equatable
-
Width scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct WidthScene : Equatable
-
Outline color scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct OutlineColorScene : Equatable
-
Outline width scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct OutlineWidthScene : Equatable
-
Offset scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct OffsetScene : Equatable
-
Reserve coordinate.
See moreDeclaration
Swift
public struct ReserveCoordinate : Equatable
-
Coordinate along line.
See moreDeclaration
Swift
public struct CoordinateAlongLine : Equatable
-
Line pattern.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct LinePattern : Equatable
-
Gap color scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct GapColorScene : Equatable
-
Dash length scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct DashLengthScene : Equatable
-
Pattern length scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct PatternLengthScene : Equatable
-
Pattern begin offset scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct PatternBeginOffsetScene : Equatable
-
Outline gap color scene.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct OutlineGapColorScene : Equatable
-
Line options.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct LineOptions : AnnotationOptions, Equatable
-
A type that represents marker options.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct MarkerOptions : AnnotationOptions, Equatable
-
Type that represents texture options.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct TextureOptions : Equatable
-
Polygon options.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct PolygonOptions : AnnotationOptions, Equatable
-
RenderedFeature class
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RenderedFeature
-
Rendered features query.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RenderedFeatureQuery
-
Class that contains configuration of the route that will be drawn on the map.
Example:
let routeOption: RouteOptions = RouteOptions(coordinates: route.geometry) guard let mapRoute = try? self.tomtomMapView.map.addRoute(routeOption) else { return }
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RouteOptions
-
Route segment.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RouteSegment
-
Represents traffic incident details.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct TrafficIncident : Decodable