TomTomSDKRangeVisualization

  • Entry point for all methods related to the range visualization. Instances of RangeVisualization are created using RangeVisualizationFactory.create(map:style:). You should call methods on these instances from the main thread only, otherwise an exception can occur. To use a RangeVisualization instance, first provide a Range with the RangeVisualization.display(range:) method. You can then call clear() 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.
    See more

    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.
    See more

    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.
    See more

    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.
    See more

    Declaration

    Swift

    public struct NamedPolygon
  • Represents a Range that can be displayed by RangeVisualization.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    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.
    See more

    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.
    See more

    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.
    See more

    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.
    See more

    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.
    See more

    Declaration

    Swift

    public struct WidthByZoom : StyleByZoom