From 4eb6b6903c658ee63fd55683f6505c61826b85e2 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 28 Jul 2019 22:07:40 +0000
Subject: [PATCH] Update stop names

---
 map.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/map.js b/map.js
index 484637b..6f628c9 100644
--- a/map.js
+++ b/map.js
@@ -82,12 +82,12 @@
 	this._element = element;
 	this._element.classList.add('panel');
 	
-	this._hide = addParaWithText(this._element, '▶');
+	this._hide = addElementWithText(this._element, 'a', '▶');
 	this._hide.title = lang.action_collapse;
 	this._hide.className = 'hide';
 	this._hide.addEventListener('click', this.toggleExpanded.bind(this));
 	
-	this._close = addParaWithText(this._element, '×');
+	this._close = addElementWithText(this._element, 'a', '×');
 	this._close.title = lang.action_close;
 	this._close.className = 'close';
 	this._close.addEventListener('click', this.close.bind(this));
@@ -675,7 +675,7 @@
 		})}, 10);
 	};
 	showOnMapElement.addEventListener('click', showOnMapFunction);
-	showOnMapElement.className = 'icon-pin addon-icon';
+	showOnMapElement.className = 'icon icon-pin';
 	showOnMapElement.title = lang.show_on_map;
 	
 	if(additional) {
@@ -911,8 +911,6 @@
 		vehicles_last_update[type] = 0;
 	});
 	
-	ol.style.IconImageCache.shared.setSize(512);
-	
 	geolocation_feature = new ol.Feature({
 		name: '',
 		style: new ol.style.Style({
@@ -966,7 +964,9 @@
 	
 	var layers = [
 		new ol.layer.Tile({
-			source: new ol.source.OSM(),
+			source: new ol.source.OSM({
+				url: 'https://tiles.ttss.pl/{z}/{x}/{y}.png',
+			}),
 		}),
 		route_layer,
 		geolocation_layer,

--
Gitblit v1.9.1