MTPolylineLayerHelper
public final class MTPolylineLayerHelper : MTVectorLayerHelper, @unchecked Sendable
Helper for creating a polyline (line) visualization layer from data and styling options.
-
Undocumented
Declaration
Swift
public var style: MTStyle { get } -
Undocumented
Declaration
Swift
public init(_ style: MTStyle) -
Adds a polyline layer based on the provided options.
Declaration
Swift
@available(iOS, deprecated: 16.0, message: "Prefer the async version for modern concurrency handling") @MainActor public func addPolyline( _ options: MTPolylineLayerOptions, completionHandler: ((Result<Void, MTError>) -> Void)? = nil ) -
addPolyline(_:Asynchronous) Adds a polyline layer based on the provided options (async).
Declaration
Swift
public func addPolyline(_ options: MTPolylineLayerOptions) async