Skip to content
Ellen Chen edited this page Feb 20, 2021 · 9 revisions

Map Control Wiki

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.

Getting Started

This GUI requires at least python 3.6 to be installed

Install

To install pywebview with PyQt5, use

pip3 install pywebview[qt]

Running the GUI

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.

Quick Summary

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.

Clone this wiki locally