add tileSize to fix text

This commit is contained in:
acalcutt 2023-01-20 19:18:39 -05:00
parent cabc96b527
commit a3c086c8c6
2 changed files with 8 additions and 6 deletions

View file

@ -101,7 +101,8 @@
sources: { sources: {
'RasterSource': { 'RasterSource': {
type: 'raster', type: 'raster',
url: '{{public_url}}data/{{id}}.json' + keyParam url: '{{public_url}}data/{{id}}.json' + keyParam,
tileSize": 256
} }
}, },
layers: [ layers: [

View file

@ -63,7 +63,8 @@
sources: { sources: {
'RasterSource': { 'RasterSource': {
type: 'raster', type: 'raster',
url: '{{public_url}}styles/{{id}}.json' + keyParam url: '{{public_url}}styles/{{id}}.json' + keyParam,
tileSize": 256
} }
}, },
layers: [ layers: [