From 20d39de5e834bbff7a891c1d131691aae5c00797 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 07 Jul 2019 19:53:13 +0000 Subject: [PATCH] Fix icons styling, remove redundant CSS entries --- map.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/map.js b/map.js index ec74343..979cdd9 100644 --- a/map.js +++ b/map.js @@ -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) { @@ -964,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