Revert c6db769b5 - back to Raster API (again)

The image quality is better from this one
This commit is contained in:
Bryan Housel
2019-12-12 13:31:57 -05:00
parent a319bf75d6
commit 21e6c27f8e
2 changed files with 484 additions and 1243 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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;