Package-level declarations
Types
Link copied to clipboard
interface ImageRegisteringMap
Link copied to clipboard
abstract class MapController(val mapView: MapView, val account: XweatherAccount) : ViewModel, MapProvider, DefaultLifecycleObserver, TileLayer.TileLayerEventListener, ComponentCallbacks2, OnMapClickListener
Bridge between the host map view (Mapbox MapView) and MapsGL: sources, tile layers, timeline, data inspector, legends, and weather APIs.
Link copied to clipboard
interface MapEventObserver
Link copied to clipboard
data class MapLoadProgress(val total: Int, val completed: Int = 0, val failed: Int = 0, val cancelled: Int = 0)
Load progress for map data sources, exposed on MapController.onLoadProgress. Top-level type so host apps (including AAR consumers) resolve total / completed reliably; internal queue state still uses Queue.Progress.
Link copied to clipboard
Link copied to clipboard
data class MeasurementUnits(val temperature: UnitTemperature, val temperatureDelta: UnitTemperature, val speed: UnitSpeed, val distance: UnitLength, val snowfall: UnitLength, val precipitationRate: UnitLength, val rate: UnitSpeed, val intensity: UnitRadarReflectivity, val concentration: UnitConcentrationMass, val ratio: UnitProportion, val duration: UnitDuration, val height: UnitHeight, val length: UnitLength, val none: Dimension, val heightDifference: UnitHeightDifference, val pressure: UnitPressure, val time: UnitDuration)
Describes the unit set used to format map/legend values across various measurement types.
Link copied to clipboard
Functions
Link copied to clipboard
fun addMaskLayer(type: MaskLayerKind, service: WeatherService, mapController: MapController, map: MapboxMap, beforeId: String? = null): TileLayer?
Link copied to clipboard