getWeatherLayerUrlTemplate abstract method

String getWeatherLayerUrlTemplate({
  1. required String layer,
  2. double opacity = 0.8,
  3. Map<double, Color> palette = const {},
})

Should return the weather layer url template.

The url template should be formatted for use by mapping UI libraries such as flutter_map, Syncfusion maps, leaflet, etc.

Implementation

String getWeatherLayerUrlTemplate({
  required String layer,
  double opacity = 0.8,
  Map<double, Color> palette = const {},
});