Manual Weather Layers
object ManualWeatherLayers
Source and layer descriptors for the PowerLayerCode products.
Ids, source layers, filters and paint follow packages/webgl-maps/src/weather/groups/admin.ts.
Functions
Link copied to clipboard
fun descriptorsFor(code: PowerLayerCode, service: WeatherService): Pair<VectorSourceDescriptor, VectorLayerDescriptor<*>>
The source and layer for code, ready to register.
Link copied to clipboard
fun powerGeneratorBoundaries(service: WeatherService): Pair<VectorSourceDescriptor, FillLayerDescriptor>
power-generator-boundaries: generator site outlines, half-opacity fill plus a matching stroke.
Link copied to clipboard
fun powerGeneratorCentroids(service: WeatherService): Pair<VectorSourceDescriptor, CircleLayerDescriptor>
power-generator-centroids: one point per generator site.
Link copied to clipboard
power-generators: individual generators as points, coloured by energy source.
Link copied to clipboard
power-lines: OSM transmission lines.
Link copied to clipboard
power-plants: plant footprints.