Skip to content

Commit

Permalink
NiN Naturtyper i kartet
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornreppen committed Dec 11, 2019
1 parent e37c51b commit 4917c7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Kart/LeafletTangram/Leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ class LeafletTangram extends React.Component {
const wms = al.kart.format.wms;
if (al.kart.format.wms && al.erSynlig === true) {
if (!prev) {
const url = wms.url.toLowerCase().replace("version=1.1.0&", "&");
const url = wms.url.toLowerCase().replace("?version=1.1.1", "");
console.log(url);
var wmsLayer = L.tileLayer.wms(url, {
layers: wms.layer,
transparent: true,
Expand Down

0 comments on commit 4917c7a

Please sign in to comment.