FunctionalRoadClassZoomPolicyOptions
public struct FunctionalRoadClassZoomPolicyOptions
Configuration for mapping functional road classes to zoom levels.
-
Default zoom level returned when the functional road class is missing or unmapped.
Declaration
Swift
public var defaultZoomLevel: Double -
Maps each functional road class to the zoom level that should be used for it.
Declaration
Swift
public var functionalRoadClassToZoomLevel: [FunctionalRoadClass : Double] -
Creates a new instance.
Note: This is a beta feature; there maybe bugs and unexpected behavior. Related API’s are subject to change without a deprecation process.
Declaration
Swift
public init(defaultZoomLevel: Double = 16.5, functionalRoadClassToZoomLevel: [FunctionalRoadClass : Double] = [:])