Weather Feature

The Weather Layer and Forecast System adds optional weather overlays and forecast banners to your route maps. Using the OpenWeatherMap API (free tier), it provides cyclists with wind direction, temperature, precipitation, and other weather data to help plan their rides.

Overview

The weather feature consists of three main components:

Weather features are only displayed on main route pages (single route and full map view), not on mini maps, route cards, or listing pages.


Setting Up Weather

Getting an OpenWeatherMap API Key

  1. Visit OpenWeatherMap and create a free account.
  2. Navigate to your account's API keys section.
  3. Copy your API key.
💡 Free Tier Limits:
  • 60 API calls per minute
  • 1,000,000 calls per month
  • Includes current weather, 5-day forecast, and weather map tiles

Configuring Weather in Route Finder

  1. Navigate to Routes → Config.
  2. Click on the Weather tab (under Map Options).
  3. Enter your OpenWeatherMap API key.
  4. Click Test Connection to verify the key works.
  5. Configure your preferred default settings.
  6. Click Save Changes.

Weather Layers

Weather layers are map overlays that display real-time weather data. Users can toggle these on and off from the weather control panel in the top-right corner of the map.

Available Layers

Layer Description
Wind Wind speed and direction with optional animated arrows
Temperature Temperature overlay with colour gradient
Precipitation Rain and snow overlay
Clouds Cloud coverage
Pressure Sea level pressure

Layer Controls

The weather control panel (accessible via the weather icon) allows users to:


Forecast Banner

The forecast banner displays a scrollable summary of weather conditions for the next 5 days, in 3-hour intervals.

What's Displayed

Banner Modes

You can configure how the forecast banner appears:


Time Selection Tool

The timeline allows users to view forecast data for different times. It appears above the forecast banner.

Features

Default Time Options

You can configure what time is shown by default when users first view a route:


Admin Configuration

Weather settings are found in Routes → Config → Weather tab.

API Settings

Default Layers

Display Options

Advanced Options


Troubleshooting

Weather Controls Not Appearing

Layers Not Loading

Forecast Banner Empty

⚠️ Performance Tip: If you notice performance issues, try reducing the number of active layers at once, increasing the cache duration, or disabling wind arrows (which are performance intensive).