MTHeatmapLayerHelper
public final class MTHeatmapLayerHelper : MTVectorLayerHelper, @unchecked Sendable
Helper for creating a heatmap visualization layer from data and styling options.
-
Undocumented
Declaration
Swift
public var style: MTStyle { get } -
Undocumented
Declaration
Swift
public init(_ style: MTStyle) -
Adds a heatmap 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 addHeatmap( _ options: MTHeatmapLayerOptions, in mapView: MTMapView, completionHandler: ((Result<Void, MTError>) -> Void)? = nil ) -
addHeatmap(_:AsynchronouscolorRamp: in: ) Adds a heatmap layer using a color ramp.
Declaration
Swift
public func addHeatmap( _ options: MTHeatmapLayerOptions, colorRamp: MTColorRamp?, in mapView: MTMapView ) async