mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-22 03:36:37 +02:00
Revert c6db769b5 - back to Raster API (again)
The image quality is better from this one
This commit is contained in:
+483
-1242
File diff suppressed because it is too large
Load Diff
@@ -95,7 +95,7 @@ sources.concat(whitelist).forEach(function(source) {
|
||||
|
||||
// supports 512px tiles
|
||||
if (source.id === 'Mapbox') {
|
||||
im.template = im.template.replace('tiles/256/', 'tiles/512/');
|
||||
im.template = im.template.replace('.jpg', '@2x.jpg');
|
||||
im.tileSize = 512;
|
||||
} else if (source.id === 'mtbmap-no') {
|
||||
im.tileSize = 512;
|
||||
|
||||
Reference in New Issue
Block a user