RangeVisualizationServiceBuilder
public struct RangeVisualizationServiceBuilder : RangeVisualizationServiceBuilderProtocol
A builder to build reachable range visualisation service which conforms RangeVisualizationServiceBuilderProtocol
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Designated initialiser.
Declaration
Swift
public init()
-
Builds reachable range visualisation service object with creating an instance that conforms to
RangeVisualizationServiceProtocol
protocol.Declaration
Swift
public func build(map: TomTomMap, style: RangeVisualizationStyle = .init()) -> RangeVisualizationServiceProtocol
Parameters
map
Given
TomTomMap
instance to be used by an instance that conforms toRangeVisualizationServiceProtocol
protocol.style
Given
RangeVisualizationStyle
instance to be used by an instance that conforms toRangeVisualizationServiceProtocol
protocol.Return Value
An instance that conforms to
RangeVisualizationServiceProtocol
protocol.