Set 'mtbmap-no' as an imagery source that uses 512px tiles

(closes #5179)
This commit is contained in:
Bryan Housel
2018-07-25 10:25:27 -04:00
parent f74d21557c
commit 395be29d38
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -42137,6 +42137,7 @@
"name": "MTBmap.no",
"type": "tms",
"template": "https://mtbmap.no/tiles/osm/mtbmap/{zoom}/{x}/{y}.jpg",
"tileSize": 512,
"zoomExtent": [3, 14],
"polygon": [
[
+2
View File
@@ -96,6 +96,8 @@ sources.concat(whitelist).forEach(function(source) {
if (source.id === 'Mapbox') {
im.template = im.template.replace('.jpg', '@2x.jpg');
im.tileSize = 512;
} else if (source.id === 'mtbmap-no') {
im.tileSize = 512;
}
if (source.type === 'wms') {