aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/mapStyles.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/mapStyles.js')
-rw-r--r--modern/src/map/mapStyles.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/map/mapStyles.js b/modern/src/map/mapStyles.js
index 5a4ee10a..00a8666d 100644
--- a/modern/src/map/mapStyles.js
+++ b/modern/src/map/mapStyles.js
@@ -1,11 +1,11 @@
-export const styleCustom = (url, attribution, tileSize) => ({
+export const styleCustom = (url, attribution) => ({
version: 8,
sources: {
osm: {
type: 'raster',
tiles: [url],
attribution: attribution,
- tileSize: tileSize,
+ tileSize: 256,
},
},
glyphs: 'https://cdn.traccar.com/map/fonts/{fontstack}/{range}.pbf',
@@ -19,7 +19,6 @@ export const styleCustom = (url, attribution, tileSize) => ({
export const styleOsm = () => styleCustom(
'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
'© <a target="_top" rel="noopener" href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
- 256,
);
export const styleCarto = () => ({