From d91ffec58e353c753cf72fdd561504ba0b52ca72 Mon Sep 17 00:00:00 2001 From: SongWei Date: Mon, 17 Feb 2020 01:21:51 +1100 Subject: [PATCH] zoom --- front/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/index.js b/front/index.js index 725dc91..e84cd9d 100644 --- a/front/index.js +++ b/front/index.js @@ -7,12 +7,12 @@ let bounds = [[0,0], [-3840, 3840]]; let map = L.map('map', { crs: L.CRS.Simple, minZoom: -1, - maxZoom: 3 + maxZoom: 4 }); L.tileLayer('./maps/build/{z}/x{x}_y{y}.jpg', { minZoom: -1, - maxZoom: 3, + maxZoom: 4, minNativeZoom: 1, maxNativeZoom: 3, tileSize: 1000,