Structures
The following structures are available globally.
-
The
DestinationConnectionLineStyle
struct represents the style of a dotted line connecting the drivable destination with the final destination. It allows the user to customize the dotted line by specifying various parameters such as line pattern, dash length, gap color, pattern length, pattern color, and pattern width.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct DestinationConnectionLineStyle
-
Represents a line pattern display configuration for a specific zoom range.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct LinePatternDisplay
-
Describes marker visibility setup by zoom level and camera tilt.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct MarkerVisibility
-
Represents a style configuration for the routes. The properties related to the active route (i.e., the properties prefixed with “active”) also apply to the selected route during the route planning phase. During instance construction, certain input values are checked against the range of values expected for that field (e.g., width values must be positive). Default assets and resources are bundled into the library. You do not need to supply any asset/resource files unless you want to customize something (for example, the icon of waypoint markers).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RouteStyle
-
Style configuration for on-route traffic incidents. During instance construction, certain input values are checked against the range of values expected for that field (e.g., width values must be non-negative).
Default assets such as fonts and icons are bundled into the framework. You can provide custom icons in
propertiesByMagnitudeOfDelay
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RouteTrafficIncidentStyle
-
Represents a style configuration for the elements of the routing visualization. When no arguments are provided to the constructor, it constructs the default style configuration.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct StyleConfiguration
-
Represents a traffic incident.
See moreDeclaration
Swift
public struct TrafficIncident