RenderOptions
public struct RenderOptions : Equatable
Used to configure rendering-specific capabilities of the MapView
-
The preferred frame rate at which the map view is rendered.
The default value for this property is
.normal
, which will adaptively set the preferred frame rate based on the capability of the user’s device to maintain a smooth experience.See Also
CADisplayLink.preferredFramesPerSecond
Declaration
Swift
public var preferredFramesPerSecond: PreferredFPS
-
When loading a map, if
PrefetchZoomDelta
is set to any number greater than 0, the map map at lower resolution as quick as possible. It will get clamped at the tile source minimum zoom. The defaultPrefetchZoomDelta
is 4.Declaration
Swift
public var prefetchZoomDelta: UInt8
-
A Boolean value that indicates whether the underlying
CAMetalLayer
of theMapView
presents its content using a CoreAnimation transactionBy default, this is
false
resulting in the output of a rendering pass being displayed on theCAMetalLayer
as quickly as possible (and asynchronously). This typically results in the fastest rendering performance.If, however, the
MapView
is overlaid with aUIKit
element which must be pinned to a particular lat-long, then setting this totrue
will result in better synchronization and less jitter.Declaration
Swift
public var presentsWithTransaction: Bool
-
Undocumented
Declaration
Swift
public init()