Weather.NET

Weather.NET's official website, where you can find the documentation for this library.


Project maintained by EloyEspinosa Hosted on GitHub Pages — Theme by mattgraham

Maps

This class provides extension methods for WeatherClient that get layer maps of the weather using OpenWeatherMap’s Weather Layer Map, and street maps using OpenStreetMap’s Base Map.

Functions

LatLongToTileCoordinates(zoom, latitude, longitude): Converts latitude and longitude to tile coordinates.

Methods

WeatherClient.GetWeatherMapUrl(layer, zoom, latitude, longitude): Gets the url of an OpenWeatherMap Weather Layer Map (1.0).

WeatherClient.GetWeatherMapUrl(layer, zoom, xCoord, yCoord): Gets the url of an OpenWeatherMap Weather Layer Map (1.0).

WeatherClient.DownloadWeatherMap(fileName, layer, zoom, latitude, longitude): Downloads an OpenWeatherMap Weather Layer Map (1.0).

WeatherClient.DownloadWeatherMap(fileName, layer, zoom, xCoord, yCoord): Downloads an OpenWeatherMap Weather Layer Map (1.0).

WeatherClient.GetStreetMapUrl(zoom, latitude, longitude): Gets the url of an OpenStreetMap Base Map.

WeatherClient.GetStreetMapUrl(zoom, xCoord, yCoord): Gets the url of an OpenStreetMap Base Map.

WeatherClient.DownloadStreetMap(fileName, zoom, latitude, longitude): Downloads an OpenStreetMap Base Map.

WeatherClient.DownloadStreetMap(fileName, zoom, xCoord, yCoord): Downloads an OpenStreetMap Base Map.

WeatherClient.DownloadWeatherMapAsync(fileName, layer, zoom, latitude, longitude): Downloads an OpenWeatherMap Weather Layer Map (1.0) asynchronously.

WeatherClient.DownloadWeatherMapAsync(fileName, layer, zoom, xCoord, yCoord): Downloads an OpenWeatherMap Weather Layer Map (1.0) asynchronously.

WeatherClient.DownloadStreetMapAsync(fileName, zoom, latitude, longitude): Downloads an OpenStreetMap Base Map asynchronously.

WeatherClient.DownloadStreetMapAsync(fileName, zoom, xCoord, yCoord): Downloads an OpenStreetMap Base Map asynchronously.

Back