Browse Source

set maxZoom to 18, because current tiles don't support zoomlvl 19

testing
Burathar 4 years ago
parent
commit
bfe6d3d6ea
  1. 2
      app/templates/game_bunny_dashboard.html
  2. 2
      app/templates/game_hunter_dashboard.html
  3. 2
      app/templates/game_owner_dashboard.html
  4. 2
      app/templates/game_player.html
  5. 2
      app/templates/objective.html

2
app/templates/game_bunny_dashboard.html

@ -63,7 +63,7 @@ @@ -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
});

2
app/templates/game_hunter_dashboard.html

@ -71,7 +71,7 @@ @@ -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
});

2
app/templates/game_owner_dashboard.html

@ -94,7 +94,7 @@ @@ -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
});

2
app/templates/game_player.html

@ -79,7 +79,7 @@ @@ -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]

2
app/templates/objective.html

@ -66,7 +66,7 @@ @@ -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
});

Loading…
Cancel
Save