aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-03-30 17:25:12 -0700
committerGitHub <noreply@github.com>2021-03-30 17:25:12 -0700
commit9ccde8f4495d1a58e644ad36c1866cb91168d173 (patch)
tree76da10ff676017b3dba34c335ff53ce283422cde
parent323aaaebc3fd62cdcb6ab5580153af8afeac30e4 (diff)
parent558c85890e7da58be0b66b24837946a8d54314b4 (diff)
downloadetbsa-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.js1
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',