TomTomSDKRangeVisualization
-
Entry point for all methods related to the range visualization. Instances of
RangeVisualization
are created usingRangeVisualizationFactory.create(map:style:)
. You should call methods on these instances from the main thread only, otherwise an exception can occur. To use aRangeVisualization
instance, first provide aRange
with theRangeVisualization.display(range:)
method. You can then callclear()
to remove all the primitives that have been added to the map.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RangeVisualization
-
Responsible for creating instances of
RangeVisualization
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum RangeVisualizationFactory
-
Represents a named circle.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct NamedCircle
-
Represents a named polygon.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct NamedPolygon
-
Represents a
Range
that can be displayed byRangeVisualization
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Range
-
Represents the color to use for each zoom level.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ColorByZoom : StyleByZoom
-
Represents a style configuration for the ranges.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RangeStyle
-
Represents the style used to display a reachable range.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct RangeVisualizationStyle
-
Represents the style value to use for each zoom level.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol StyleByZoom
-
Represents the width to use for each zoom level.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct WidthByZoom : StyleByZoom
-
Declaration
Swift
extension DefaultRangeVisualization: CameraEventObserver