htdocs: Add trainlines to geojson list

This commit is contained in:
Markus Koch 2021-02-26 20:09:14 +01:00
parent 8a4a455e05
commit db561b5d1d

View File

@ -340,6 +340,9 @@ load_tiles("None", '');
load_geojson("All", "./geojson/all.json", "auto", "auto", 0); load_geojson("All", "./geojson/all.json", "auto", "auto", 0);
load_geojson("Streets", "./geojson/streets.json", "street", "auto", 1, style_streets); load_geojson("Streets", "./geojson/streets.json", "street", "auto", 1, style_streets);
load_geojson("Trainlines (beta)", "./geojson/trainlines_beta.json", "train", "auto", 1, style_trains);
load_geojson("TL Access (tech layer)", "./geojson/trainlines_access_beta.json", "train", "auto", 0, style_tech);
load_geojson("Railroad Tracks", "./geojson/trains.json", "train", "auto", 0, style_trains);
load_geojson("Cities", "./geojson/city_outlines.json", "outline", "auto", 1, style_outlines); load_geojson("Cities", "./geojson/city_outlines.json", "outline", "auto", 1, style_outlines);
L.control.scale().addTo(mymap); L.control.scale().addTo(mymap);