Heatmap Layer Descriptor
Descriptor for a Mapbox heatmap layer: point density visualized as a color ramp, backed by vector or GeoJSON point data.
Add the source first, then com.xweather.mapsgl.map.MapController.addLayer. paint (HeatmapLayerPaint) maps to Mapbox heatmap-color, heatmap-weight, heatmap-intensity, heatmap-radius, and heatmap-opacity.
Use sourceLayer for MVT point layers; null for GeoJSON when the source is a single feature collection of points.
See also
Constructors
Properties
Optional feature filter.
Heatmap ramp, radius, intensity, and weight.
MVT layer name, or null for GeoJSON.
When true, MapsGL does not register a Mapbox fill / line / circle / symbol / heatmap style layer. The com.xweather.mapsgl.layers.tile.VectorTileLayer still exists for tile/GeoJSON consumers, MVT fetch (e.g. com.xweather.mapsgl.map.mapbox.GlStencilCustomMaskCoordinator), and GLES stencil mesh build in com.xweather.mapsgl.renderers.TileLayerRenderer — only screen drawing via Mapbox paint is skipped.