From a09b8a43f6444eea2506dc8b3d04b8f5ea80a4df Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 09 Jun 2020 21:39:50 +0000
Subject: [PATCH] [map] Disallow non-integer zoom levels

---
 map.html |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/map.html b/map.html
index 1fdf9b5..94aa72d 100644
--- a/map.html
+++ b/map.html
@@ -1,21 +1,27 @@
 <!DOCTYPE html>
 <html>
 <head>
-<title>TTSS Kraków - Map</title>
-<link rel="stylesheet" href="https://openlayers.org/en/v4.1.0/css/ol.css" type="text/css" />
-<link rel="stylesheet" href="map.css" type="text/css" />
+<title>TTSS Kraków - Mapa</title>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.3.1/css/ol.css" integrity="sha384-6Ku0bdGS1If4LlZPWpe2wTx/qu/Y+YJob6lvk4Yi49uWWFqASeOF130VK3KjIPgh" crossorigin="anonymous">
+<link rel="stylesheet" href="map.css?v6" type="text/css" />
+<link rel="manifest" href="map.manifest" />
 </head>
 <body>
 <div id="map">
 <div id="title" class="ol-unselectable ol-control"><a href="/">TTSS Kraków</a></div>
-<div id="fail" class="ol-unselectable ol-control"></div>
-<div id="popup"></div>
+<div id="fail" class="ol-unselectable ol-control"><span></span> <span class="close" title="Zamknij">×</span></div>
+<div id="menu" class="ol-unselectable ol-control">
+<button id="find" type="button" title="Szukaj"><span class="icon-zoom small reverse">Szukaj</span></button>
+<button id="track" type="button" title="Namierz"><span class="icon-loc reverse">Namierz</span></button>
 </div>
-<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>
-<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
-<script src="https://openlayers.org/en/v4.1.0/build/ol.js" integrity="sha384-FkrvSU9IkctjoF6eTvw82jZvg4Rn04zw5X2nCQnYF+vT8IbAY+DJ23IIoaVDtiMe" crossorigin="anonymous"></script>
-<script tyle="text/javascript" src="lang_en.js" id="lang_script"></script>
-<script tyle="text/javascript" src="common.js"></script>
-<script tyle="text/javascript" src="map.js"></script>
+</div>
+<div id="panel"></div>
+<script src="https://polyfill.io/v3/polyfill.min.js?features=Array.prototype.forEach,Array.prototype.includes,Array.prototype.map,Element.prototype.classList,Promise,String.prototype.startsWith,XMLHttpRequest,requestAnimationFrame"></script>
+<script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.3.1/build/ol.js" integrity="sha384-pOrIhclJOIWlmYwhc69tvE0NTGhH7/oEdC9zrxJ3yyKMR+aCxEVIc4tj51WxVocG" crossorigin="anonymous"></script>
+<script tyle="text/javascript" src="lang_pl.js?v10" id="lang_script"></script>
+<script tyle="text/javascript" src="common.js?v11"></script>
+<script tyle="text/javascript" src="map.js?v25"></script>
 </body>
 </html>

--
Gitblit v1.9.1