Skip to content

Commit

Permalink
For Mapbox Satellite, use the Tiles API way of determining tilesize
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Dec 12, 2019
1 parent f989153 commit c6db769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/update_imagery.js
Expand Up @@ -95,7 +95,7 @@ sources.concat(whitelist).forEach(function(source) {

// supports 512px tiles
if (source.id === 'Mapbox') {
im.template = im.template.replace('.jpg', '@2x.jpg');
im.template = im.template.replace('tiles/256/', 'tiles/512/');
im.tileSize = 512;
} else if (source.id === 'mtbmap-no') {
im.tileSize = 512;
Expand Down

0 comments on commit c6db769

Please sign in to comment.