SourceDescriptor

Declarative configuration for a data source before it is registered on a com.xweather.mapsgl.map.MapController.

Implementations describe tile URLs, metadata, bounds, and optional authentication. The controller’s com.xweather.mapsgl.map.MapController.addSource turns a descriptor into a live com.xweather.mapsgl.sources.DataSource.

See also

Inheritors

Properties

Link copied to clipboard
abstract val id: String

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

Link copied to clipboard
abstract val kind: DataSourceKind

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

Link copied to clipboard