Prettymaps Generator is a web application that creates stylized maps of cities and locations using OpenStreetMap data. Built on the Python Flask framework, this application utilizes the Prettymaps library to produce visually appealing maps.
- Generate maps by entering city names or coordinates
- Easy location search with autocomplete functionality
- Three different map styles: Minimalist, Vintage, and Colorful
- Wide-area maps showing the entire city
- Modern and user-friendly interface
Follow these steps to run the project on your local machine:
-
Clone the repository:
git clone https://github.com/U-C4N/prettymaps-generator.git cd prettymaps-generator
-
Create and activate a virtual Python environment:
python -m venv venv source venv/bin/activate # For Windows: venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Open your browser and go to
http://127.0.0.1:5000/
to start using the application.
- On the main page, enter the name of the city or coordinates for which you want to create a map.
- You can select one of the suggested locations using the autocomplete feature.
- Choose a map style (Minimalist, Vintage, or Colorful).
- Click the "Generate Map" button.
- The generated map will be displayed at the bottom of the page.
- Prettymaps - Map generation library
- Flask - Web framework
- OpenStreetMap - Map data
- Tailwind CSS - CSS framework