From b1d3d61482c0084f2d181d5eb6849b36376f06f2 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 13 Mar 2019 00:01:27 +0000
Subject: [PATCH] Ignore stop "Dworzec Główny" still reported by TTSS

---
 map.js   |    2 ++
 map.html |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/map.html b/map.html
index 5e56b69..3122d8d 100644
--- a/map.html
+++ b/map.html
@@ -26,6 +26,6 @@
 <script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/build/ol.js" integrity="sha384-iQkGyyH4ioz3m+maM3s9MX1Oq67mACa4B9Z3ovUv3Sv37LJ96fx3WnZfLoiC3Wfl" crossorigin="anonymous"></script>
 <script tyle="text/javascript" src="lang_pl.js?v5" id="lang_script"></script>
 <script tyle="text/javascript" src="common.js?v6"></script>
-<script tyle="text/javascript" src="map.js?v12"></script>
+<script tyle="text/javascript" src="map.js?v13"></script>
 </body>
 </html>
diff --git a/map.js b/map.js
index d968325..2ce735f 100644
--- a/map.js
+++ b/map.js
@@ -26,6 +26,7 @@
 var vehicles_info = {};
 
 var stops_xhr = null;
+var stops_ignored = ['131'];
 var stops_buses_source = null;
 var stops_buses_layer = null;
 var stops_trams_source = null;
@@ -359,6 +360,7 @@
 		var stop = stops[i];
 		
 		if(stop.category == 'other') continue;
+		if(stops_ignored.indexOf(stop.shortName) >= 0) continue;
 		
 		stop.geometry = getGeometry(stop);
 		var stop_feature = new ol.Feature(stop);

--
Gitblit v1.9.1