Raster Layer Descriptor
Raster/image tile layer. Add with com.xweather.mapsgl.map.MapController.addLayer after registering an com.xweather.mapsgl.sources.source.spec.ImageSourceDescriptor.
Constructors
Properties
JS-style mask convenience; takes precedence over maskLayerIds and maskLayerId when provided.
When mask is MaskLayerKind.COUNTRY, ISO 3166-1 alpha-2 (e.g. "US", "ES"). Ignored for other mask kinds.
Single mask layer id shorthand (JS mask: "layerId" on a layer). Lowest precedence among stencil mask fields: after stencilLayerMask, layerMask, and maskLayerIds.
JS-style convenience for custom stencil masks: mask: { layerIds: ["admin-mask"] }
Type-specific paint/layout.
Advanced custom stencil mask configuration. Takes precedence over maskLayerIds when set.
Optional per-layer timing (Apple timing). When non-null, com.xweather.mapsgl.map.MapController.addLayer copies these fields onto the created com.xweather.mapsgl.layers.tile.TileLayer.timing. Null keeps the layer's existing defaults.