diff --git a/lib/map.js b/lib/map.js index bc91664..e38f936 100644 --- a/lib/map.js +++ b/lib/map.js @@ -245,7 +245,7 @@ define(["map/clientlayer", "map/labelslayer", var layers = config.mapLayers.map(function (d) { return { "name": d.name, - "layer": "url" in d ? L.tileLayer(d.url, d.config) : console.warn("Missing map url") + "layer": "url" in d ? L.tileLayer(d.url.replace("{retina}", L.Browser.retina ? '@2x' : ''), d.config) : console.warn("Missing map url") }; });