From 428023ba533cdcf2f3ec333142b5c173a27748bf Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 06 Jul 2019 17:07:37 +0000
Subject: [PATCH] Use own tile server instead of OSM-provided one

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

diff --git a/map.js b/map.js
index ec74343..ace3baa 100644
--- a/map.js
+++ b/map.js
@@ -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