Update mapbox layers to use 512x512 tile size.

This commit is contained in:
Michael Stenta 2020-07-29 12:32:32 -04:00
parent 52e369824e
commit 571ffbe733
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@
// Add the layer.
var opts = {
title: title,
url: 'https://api.mapbox.com/styles/v1/' + tileset + '/tiles/256/{z}/{x}/{y}?access_token=' + key,
url: 'https://api.mapbox.com/styles/v1/' + tileset + '/tiles/512/{z}/{x}/{y}?access_token=' + key,
tileSize: 512,
attribution: attribution,
group: 'Base layers',
base: true,