Skip to content

Commit

Permalink
fix: missed slash
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Apr 2, 2021
1 parent 6c545c8 commit 1e8d6a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -963,14 +963,14 @@ var initialize = function() {
throw new Error("Tile server url isn't set");
}
new window.L.tileLayer(
baseURL_def + `${isFreetown?"freetown":""}/{z}/{x}/{y}.png`,
baseURL_def + `${isFreetown?"/freetown":""}/{z}/{x}/{y}.png`,
{
minZoom: 16,
maxZoom: 20,
}
).addTo(map);
utfGridLayer = new window.L.utfGrid(
baseURL_def + `${isFreetown?"freetown":""}/{z}/{x}/{y}.grid.json`,
baseURL_def + `${isFreetown?"/freetown":""}/{z}/{x}/{y}.grid.json`,
{
minZoom: 16,
maxZoom: 20,
Expand Down

0 comments on commit 1e8d6a4

Please sign in to comment.