From bfe6d3d6ea6454626869a9e02ecff31d8e74882e Mon Sep 17 00:00:00 2001 From: Burathar Date: Wed, 22 Jul 2020 20:41:42 +0200 Subject: [PATCH] set maxZoom to 18, because current tiles don't support zoomlvl 19 --- app/templates/game_bunny_dashboard.html | 2 +- app/templates/game_hunter_dashboard.html | 2 +- app/templates/game_owner_dashboard.html | 2 +- app/templates/game_player.html | 2 +- app/templates/objective.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/templates/game_bunny_dashboard.html b/app/templates/game_bunny_dashboard.html index 4f0836c..0666cd1 100644 --- a/app/templates/game_bunny_dashboard.html +++ b/app/templates/game_bunny_dashboard.html @@ -63,7 +63,7 @@ var map = L.map( 'map', { center: [52.2, 5.3], minZoom: 6, - maxZoom: 19, + maxZoom: 18, bounds: [[50.5, 3.25], [54, 7.6]], zoom: 8 }); diff --git a/app/templates/game_hunter_dashboard.html b/app/templates/game_hunter_dashboard.html index 3d25668..369c183 100644 --- a/app/templates/game_hunter_dashboard.html +++ b/app/templates/game_hunter_dashboard.html @@ -71,7 +71,7 @@ var map = L.map( 'map', { center: [52.2, 5.3], minZoom: 6, - maxZoom: 19, + maxZoom: 18, bounds: [[50.5, 3.25], [54, 7.6]], zoom: 8 }); diff --git a/app/templates/game_owner_dashboard.html b/app/templates/game_owner_dashboard.html index 9a61ab2..b493bb1 100644 --- a/app/templates/game_owner_dashboard.html +++ b/app/templates/game_owner_dashboard.html @@ -94,7 +94,7 @@ var map = L.map( 'map', { center: [52.2, 5.3], minZoom: 6, - maxZoom: 19, + maxZoom: 18, bounds: [[50.5, 3.25], [54, 7.6]], zoom: 8 }); diff --git a/app/templates/game_player.html b/app/templates/game_player.html index c14ab81..1a53ad5 100644 --- a/app/templates/game_player.html +++ b/app/templates/game_player.html @@ -79,7 +79,7 @@ var map = L.map('map', { center: ['{{ last_location.latitude or 52.2 }}', '{{ last_location.longitude or 5.3 }}'], minZoom: 6, - maxZoom: 19, + maxZoom: 18, bounds: [ [50.5, 3.25], [54, 7.6] diff --git a/app/templates/objective.html b/app/templates/objective.html index fc8c5ce..1a89c97 100644 --- a/app/templates/objective.html +++ b/app/templates/objective.html @@ -66,7 +66,7 @@ var map = L.map( 'map', { center: ['{{ objective.latitude }}', '{{ objective.longitude }}'], minZoom: 6, - maxZoom: 19, + maxZoom: 18, bounds: [[50.5, 3.25], [54, 7.6]], zoom: 10 });