3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

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

View file

@ -17,7 +17,8 @@
// Add the layer. // Add the layer.
var opts = { var opts = {
title: title, 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, attribution: attribution,
group: 'Base layers', group: 'Base layers',
base: true, base: true,