addWeatherLayer

fun addWeatherLayer(layerCode: LayerCode, id: String? = null, beforeId: String? = null): TileLayer?

Adds a new weather layer to the map.

Parameters

layerCode
  • The enum that matches one of the supported weather layer identifiers.


fun addWeatherLayer(config: WeatherConfiguration, id: String? = null, beforeId: String? = null): TileLayer?