diff --git a/transport_accessibility/pt_map/templates/map.html b/transport_accessibility/pt_map/templates/map.html index 4106e3e..cf62edf 100644 --- a/transport_accessibility/pt_map/templates/map.html +++ b/transport_accessibility/pt_map/templates/map.html @@ -178,7 +178,10 @@ } function importGTFS() { - imported_data = JSON.parse('{{ data }}'); + stops = JSON.parse('{{ stops }}'); + routes = JSON.parse('{{ routes }}'); + timetable = JSON.parse('{{ timetable }}'); + alert("Import existing GTFS clicked"); // Logic to import existing GTFS would go here }