diff options
| -rw-r--r-- | content/static/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/static/main.js b/content/static/main.js index d8debae..bd91690 100644 --- a/content/static/main.js +++ b/content/static/main.js | |||
| @@ -61,7 +61,8 @@ function lib_setup_map() { | |||
| 61 | var map = L.map(ELEM_ID_MAP).setView(DEFAULT_COORDINATES, DEFAULT_ZOOM); | 61 | var map = L.map(ELEM_ID_MAP).setView(DEFAULT_COORDINATES, DEFAULT_ZOOM); |
| 62 | L.Icon.Default.imagePath = "/static/"; | 62 | L.Icon.Default.imagePath = "/static/"; |
| 63 | L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { | 63 | L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { |
| 64 | maxZoom: 19, | 64 | maxNativeZoom: 19, |
| 65 | maxZoom: 25, | ||
| 65 | attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' | 66 | attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' |
| 66 | }).addTo(map); | 67 | }).addTo(map); |
| 67 | return map; | 68 | return map; |
