- Add new CompassMapPluginWidget for map north alignment control
- Position compass button at top-right of maps
- Reset rotation to 0° while maintaining center and zoom level
- Improve UX by allowing users to easily return to north orientation
- Integrate compass into both genericMap and monitoredAreas pages
CartoDB Positron (light_all) is a modern, reliable replacement for the
deprecated Stamen Toner and tiles.wmflabs.org. It provides a clean
grayscale/minimalist map style with excellent availability.
- Updated FireMapLayer.osmcGrey to use CartoDB Positron
- Updated monitoredAreas TileLayer to use CartoDB Positron
- Keeps subdomains configuration for load distribution
- Fixes: Unreliable tile server DNS issues
tiles.wmflabs.org was causing DNS resolution failures on the device/emulator
(No address associated with hostname, errno = 7). Replaced with the official
OpenStreetMap tile server (tile.openstreetmap.org) which is more stable and reliable.
Removed subdomains configuration as it's not needed for the official OSM server.
- Updated FireMapLayer.osmcGrey in genericMap.dart
- Updated TileLayer in monitoredAreas.dart
- Fixes: Map tiles not loading due to network/DNS issues
Maps were not rendering in flutter_map v6.2.1 because TileLayer was missing the
required userAgentPackageName property. This property is needed for proper
HTTP requests to tile servers with correct User-Agent headers.
- Updated TileLayer in genericMap.dart with userAgentPackageName
- Updated TileLayer in monitoredAreas.dart with userAgentPackageName
- Fixes: Maps not displaying tiles after flutter_map v6 migration