Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Guiming authored May 3, 2024
1 parent 8dbc959 commit 9ca3b7e
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,6 @@ const gh_uids2019 = [275891,1030528,611294,2369084,1555067,196849,769610]
var zoomLevelThreshold = 15
var myMap = L.map('mapid').setView(center, zoomLevel);

var basemap_gterrain = L.tileLayer('http://{s}.google.com/vt/lyrs=p&x={x}&y={y}&z={z}',{
maxZoom: 20,
subdomains:['mt0','mt1','mt2','mt3']
}).addTo(myMap);

var basemap_gstreet = L.tileLayer('http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}',{
maxZoom: 20,
subdomains:['mt0','mt1','mt2','mt3']
}).addTo(myMap);

var basemap_gsat = L.tileLayer('http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',{
maxZoom: 20,
subdomains:['mt0','mt1','mt2','mt3']
}).addTo(myMap);

var basemap_ghybrid = L.tileLayer('http://{s}.google.com/vt/lyrs=s,h&x={x}&y={y}&z={z}',{
maxZoom: 20,
subdomains:['mt0','mt1','mt2','mt3']
}).addTo(myMap);


var basemap_osm = L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{
maxZoom: 20,
attribution: '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
Expand Down

0 comments on commit 9ca3b7e

Please sign in to comment.