Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
abstract class MapController(val mapView: MapView, val account: XweatherAccount) : ViewModel, MapProvider, DefaultLifecycleObserver, TileLayer.TileLayerEventListener

A MapController class acts as the interface between the map view of a mapping library and MapsGL-specific functionality.

Link copied to clipboard
Link copied to clipboard
class MapStyle
Link copied to clipboard
data class MaskLayer(val layer: TileLayer, val code: LayerCode, var count: Int = 0)

Adds a mask layer of the specified type if not already present, or increments its reference count if it is. This function should be called from the main thread if it involves UI/map updates.

Link copied to clipboard
class MaskUtils
Link copied to clipboard
data class SpriteImage(val x: Int, val y: Int, val width: Int, val height: Int, val pixelRatio: Double)

Functions

Link copied to clipboard
fun addMaskLayer(type: MaskLayerKind, service: WeatherService, mapController: MapController, map: MapboxMap, beforeId: String? = null): TileLayer?
Link copied to clipboard