diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-31 17:48:32 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-31 17:48:32 -0700 |
commit | 26fd9c7f4a4280e4f906f79fb779fb9c73483adf (patch) | |
tree | d66e2d5199ce3e3c02a21ef016397fcf5d0e0147 /modern/src/map/overlay/useMapOverlays.js | |
parent | 893eb356b6c7c2c435be8b75a312d8e488913dd4 (diff) | |
download | trackermap-web-26fd9c7f4a4280e4f906f79fb779fb9c73483adf.tar.gz trackermap-web-26fd9c7f4a4280e4f906f79fb779fb9c73483adf.tar.bz2 trackermap-web-26fd9c7f4a4280e4f906f79fb779fb9c73483adf.zip |
Limit overlay zoom
Diffstat (limited to 'modern/src/map/overlay/useMapOverlays.js')
-rw-r--r-- | modern/src/map/overlay/useMapOverlays.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/map/overlay/useMapOverlays.js b/modern/src/map/overlay/useMapOverlays.js index 098ac368..3d539d32 100644 --- a/modern/src/map/overlay/useMapOverlays.js +++ b/modern/src/map/overlay/useMapOverlays.js @@ -6,6 +6,7 @@ const sourceCustom = (urls) => ({ type: 'raster', tiles: urls, tileSize: 256, + maxzoom: 18, }); const sourceOpenWeather = (style, key) => sourceCustom([ |