Leaflet-based line network map viewer
WebLNP is a client-sided and Leaflet-based web viewer for line network maps using OpenStreetMaps with the ability to add historic maps and/or different transit maps per city.
📍 Albtalbahnhof, Karlsruhe – 2018
Requirements
- Bash
- Python 3
Using the dev enviroment on Linux
You can either choose to run source weblnp_env
to enable the weblnp
command or you can run ./weblnp
directly, if you prefer to not modify your enviroment.
Using the dev enviroment on Windows
The dev enviroment can be used on Windows by calling the weblnp.bat
file inside the Command Prompt or via the PowerShell.
Development without the dev enviroment
If you prefer to not use the dev enviroment or your OS is not supported, you can directly run the web server with python -m "http.server"
.
Note
You can also use other static web servers if required.
But please add any dotfiles or configs
which might be generated to the.gitignore
.
Contributing
# 1. Fork it
# https://github.com/samuel-302/weblnp/fork
# 2. Create your feature branch
$ git checkout -b feature/fooBar
# 3. Commit your changes
$ git commit -a
# 4. Push to the branch
$ git push origin feature/fooBar
# 5. Create a new pull request
# https://github.com/samuel-302/weblnp/compare
Distributed under the MIT license. See LICENSE
for more information.
Warning
The license does not apply to thekml
folder and it's subfolders!