Skip to content

Commit

Permalink
Merge pull request #17 from sauevald/hotfix/tiles
Browse files Browse the repository at this point in the history
Remove tileSize: 512 from tiles.maaamet.ee layers.
  • Loading branch information
tormi authored Mar 21, 2024
2 parents 6bc996d + a720e3c commit 4cf5f07
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@ const osm = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
// Create a tile layer using Estonian hybrid map tiles
const hybriid = L.tileLayer(
'https://tiles.maaamet.ee/tm/tms/1.0.0/hybriid@GMC/{z}/{x}/{-y}.png',
{
tileSize: 512,
}
{}
)

// Create a tile layer using Estonian orthophoto map tiles
const orto = L.tileLayer(
'https://tiles.maaamet.ee/tm/tms/1.0.0/foto@GMC/{z}/{x}/{-y}.png',
{
tileSize: 512,
attribution:
'Orto: <a href="https://www.maaamet.ee/" target="_blank" rel="noopener noreferrer">Maa-Amet</a>',
}
Expand Down

0 comments on commit 4cf5f07

Please sign in to comment.