diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-03-30 17:25:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 17:25:12 -0700 |
commit | 9ccde8f4495d1a58e644ad36c1866cb91168d173 (patch) | |
tree | 76da10ff676017b3dba34c335ff53ce283422cde | |
parent | 323aaaebc3fd62cdcb6ab5580153af8afeac30e4 (diff) | |
parent | 558c85890e7da58be0b66b24837946a8d54314b4 (diff) | |
download | etbsa-traccar-web-9ccde8f4495d1a58e644ad36c1866cb91168d173.tar.gz etbsa-traccar-web-9ccde8f4495d1a58e644ad36c1866cb91168d173.tar.bz2 etbsa-traccar-web-9ccde8f4495d1a58e644ad36c1866cb91168d173.zip |
Merge pull request #829 from mtahasahin/osm-tileSize-fix
Added tileSize attribute for OSM map style
-rw-r--r-- | modern/src/map/mapStyles.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/map/mapStyles.js b/modern/src/map/mapStyles.js index ff323cb..00a8666 100644 --- a/modern/src/map/mapStyles.js +++ b/modern/src/map/mapStyles.js @@ -5,6 +5,7 @@ export const styleCustom = (url, attribution) => ({ type: 'raster', tiles: [url], attribution: attribution, + tileSize: 256, }, }, glyphs: 'https://cdn.traccar.com/map/fonts/{fontstack}/{range}.pbf', |