Skip to content

Commit

Permalink
updated topo map max zoom and added attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
sixt0o committed Jan 23, 2022
1 parent ec1891b commit 64bfeee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion foxtrot.html
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@
// opacity: 0.8,
// maxZoom: 20
// });
var Topo = L.tileLayer('https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png');
var Topo = L.tileLayer('https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', { maxZoom: 12, attribution: 'Map data: &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: &copy; <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)' });

var mymap = L.map('mapdiv', { zoomControl: false }).setView([39.82, -98.58], 5);
// Esri_WorldImagery.addTo(mymap);
Expand Down
2 changes: 1 addition & 1 deletion foxtrot.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Foxtrot(plugins.Plugin):
ALREADY_SENT = list()
SKIP = list()
UPDATE_URL = "https://raw.githubusercontent.com/sixt0o/f0xtr0t/main/version.txt"
CURRENT_VERSION = "v1.1.8-alpha"
CURRENT_VERSION = "v1.1.9-alpha"

def __init__(self):
self.ready = False
Expand Down

0 comments on commit 64bfeee

Please sign in to comment.