Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
modos189 committed Aug 13, 2024
1 parent 86244a1 commit a72857a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions plugins/basemap-kartverket.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ mapKartverket.setup = function () {

L.TileLayer.Kartverket = L.TileLayer.extend({

baseUrl: 'https://cache.kartverket.no/v1/wmts/1.0.0/'
+ '{layer}/default/webmercator/{z}/{y}/{x}.png',
baseUrl: 'https://cache.kartverket.no/v1/wmts/1.0.0/' + '{layer}/default/webmercator/{z}/{y}/{x}.png',

options: {
maxNativeZoom: 18,
attribution: '&copy; <a href="http://kartverket.no">Kartverket</a>'
attribution: '&copy; <a href="http://kartverket.no">Kartverket</a>',
},

mappings: {
Expand All @@ -56,9 +55,9 @@ mapKartverket.setup = function () {
},

layers: {
topo: 'Kartverket Topo (farger)',
topograatone: 'Kartverket Topo (gråtone)',
toporaster: 'Kartverket Topo (raster)',
topo: 'Kartverket Topo (farger)',
topograatone: 'Kartverket Topo (gråtone)',
toporaster: 'Kartverket Topo (raster)',
},

initialize: function (layer, options) {
Expand Down

0 comments on commit a72857a

Please sign in to comment.