(How To) Use the Demo
Wait for the map to load and setup; when ready, the "Play" button will be activated.
-
(when activated) Click "Play", to start playback.
-
To change active view during playback:
- Click on a map marker, to navigate to this view
- Click on the "Switch" button, to navigate to the next view
- Select an algorithm from the Policy select dropdown
(note: other options will be disabled until 'Manual' is selected again)
If during playback the video stops responding, click "Reset MSE"
The recommended browser to view the demo is Chrome. Tested on Firefox and Chrome. Does NOT work on IE or Edge
(issue [4]).
For hiccups or suggestions, you can
file an issue on github, or
contact us.
This demo requires an adequate internet connection (videos are encoded at 2000kbps). If such is not available,
try running the demo locally.
(How To) Reproduce / Modify The Demo
This demo is part of the
SWAPUGC platform. There are no external dependencies or libraries used, except Google Maps for the map rendering.
In order to run it locally, or on your own server, you should perform the following steps:
-
Clone, or check-out the source code, from the
github repository.
-
(Optional) add your own dataset in the
samples folder
-
(Optional) modify the parameters in
parameters.js and
main.js
-
Run a local server (e.g.
Mongoose) on the top level (i.e. inside the "SWAPUGC" folder), or upload the repository contents
to your server.
-
Use your browser to navigate to
-
www.server-domain.com/index.html , for remote server
-
localhost:8080/index.html , if you are running it locally (with an example port of 8080)
You can find more information
about SWAPUGC, consult the
README, or
visit the current release repository.
As long as you see this text, the map is still loading...
NOTE: this demo uses the Google Maps API. If the map is not loading, make sure that the Google Maps service
is online and that it is not blocked by your firewall/proxy