Skip to content

Commit

Permalink
fix: restore city namp on the map
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Apr 14, 2021
1 parent 7016cee commit 9f03928
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,11 +882,10 @@ var initialize = function() {
}).addTo(map);

//google satillite map
window.L.gridLayer.googleMutant({
maxZoom: 20,
type: 'satellite'
}).addTo(map);
/*
// window.L.gridLayer.googleMutant({
// maxZoom: 20,
// type: 'satellite'
// }).addTo(map);
const googleSat = window.L.tileLayer(
'http://{s}.google.com/vt/lyrs=s,h&x={x}&y={y}&z={z}',{
maxZoom: 20,
Expand All @@ -895,7 +894,6 @@ var initialize = function() {
subdomains:['mt0','mt1','mt2','mt3']
});
googleSat.addTo(map);
*/

window.L.TileLayer.FreeTown = window.L.TileLayer.extend({
getTileUrl: function(coords) {
Expand Down

0 comments on commit 9f03928

Please sign in to comment.