Protocols
The following protocols are available globally.
-
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
-
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