XweatherEncodedSourceDescriptor

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

Legacy Aeris-style encoded source kind; same shape as EncodedSourceDescriptor with nullable fields.

Prefer EncodedSourceDescriptor for new code unless a product still reports DataSourceKind.AERIS_ENCODED.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var bounds: LatLonBounds?
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
var url: String?