Dash-Leaflet-Tile-Weather-Explorer
is a leaflet template aimed at showcasing 20 initial style tiles, current clouds and USA precipitation 1h, 24h, 48h.
This post is directed for other cartographer’s that might be lurking in the mist, personally I’ve always found the art of map making very interesting. Over time how it has evolved from scribbles on a peace of paper to interactive GUI’s:
The art of exploration and understanding of the world around us has never been easier with the advances we have seen in technology and information. These two images showcase the difference of a century, This tool I’ve created although simple would be considered magic if brought in front of the author of this 1858 map. My goal is to articulate, throughout history cartographer’s have always been important and useful careers. From solving problems with disease, war, logistics and many other. Coveted is the person that can give an understanding of the world and now is the best time to explore and create the tools and maps of the future. Inspiration and a challenge to build and innovate exceeding initial seed planted with this project.
Features
- 20 Map Styles: More styles could be added or the ones provided could be replaced.
- Rain Radar: 1h, 24h, 48h rain radar
- Cloud Radar: toggle the current clouds
- User Location Detector: Click the find me button to pinpoint users location.
- Full Screen Mode: inspect with the full width and height of your screens realestate
API Keys are required for the clouds and some map tiles:
- jawg-matrix-access-token: https://www.jawg.io/
- thunderforest-api-key: https://www.thunderforest.com/
- openweathermap-appid: https://openweathermap.org/
Getting Started
To get started with Dash-Leaflet-Tile-Weather-Explorer
, clone this repository to your local machine:
git clone https://github.com/pip-install-python/Dash-Leaflet-Tile-Weather-Explorer.git
cd weather_map
Ensure you have the following installed:
- Python (3.6 or later)
- pip
- Virtual environment (recommended)
- Create a config.json file in pages with the API Keys
jawg-matrix-access-token
,thunderforest-api-key
, andopenweathermap-appid
Installation
- Create and activate a virtual environment:
Windows:
python -m venv venv
.\venv\Scripts\activate
macOS/Linux:
macOS/Linux
python3 -m venv venv
source venv/bin/activate
- Install the required packages:
pip install -r requirements.txt
Running Examples
Navigate to the app.py file and execute the application:
python app.py