EncodedSourceDescriptor

data class EncodedSourceDescriptor(val id: String, var url: String? = null, var metadataUrl: String? = null, var minZoom: Float? = null, var maxZoom: Float? = null, var bounds: LatLonBounds? = null, var tileSize: TileSize? = null, var attribution: String? = null, var authenticator: XweatherAuthenticator? = null, var datasets: List<EncodedDataset>? = null) : SourceDescriptor

MapsGL encoded grid source (multi-band numeric tiles consumed by sample/contour/particle layers).

See also

Constructors

Link copied to clipboard
constructor(id: String, url: String? = null, metadataUrl: String? = null, minZoom: Float? = null, maxZoom: Float? = null, bounds: LatLonBounds? = null, tileSize: TileSize? = null, attribution: String? = null, authenticator: XweatherAuthenticator? = null, datasets: List<EncodedDataset>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var bounds: LatLonBounds?
Link copied to clipboard

Band definitions and decoding hints; required for encoded pipelines.

Link copied to clipboard
open override val id: String

Stable id used as the Mapbox style source id and MapsGL registry key.

Link copied to clipboard
open override val kind: DataSourceKind

Discriminator matching com.xweather.mapsgl.sources.DataSource.kind after registration.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extra query parameters appended to every tile request from this source.

Link copied to clipboard
Link copied to clipboard

Client-side transform applied to each decoded tile before it is rendered, for products that are derived from a pack of source datasets rather than served directly. Null for ordinary sources.

Link copied to clipboard
Link copied to clipboard
var url: String?