-
Notifications
You must be signed in to change notification settings - Fork 9
Map
This page contains instructions for running Map.
The contents for 2019-2020 Map code can be found in the branch feature/map. Select src/MapGUI to find the code for the map.
You must have Python 3.6 to be installed.
This GUI requires at least python 3.6 to be installed
To install pywebview with PyQt5, use
pip3 install pywebview[qt]
Open up a terminal in the directory with the files and run
python3 server.py
Open up a new terminal in the same directory and run
python3 map.py
This should open a window with the map GUI.
This program uses a MapBox API, HTML, and JavaScript. It also uses pywebview to open up the GUI with a program instead of within the browser. It also allows for offline map usage as long as the correct pbf files are downloaded into the MapBox folder.
Wondering how to make nice formatting? Check out this guide!