From f9c1829a00a7abe8c0aa37b03164d067daa5b128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 2 May 2021 13:45:34 +0200 Subject: [PATCH] enable zoomControl for Leaflet map to be consistent with Google map --- public/static/js/map_editor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/static/js/map_editor.js b/public/static/js/map_editor.js index 106f572..b4e5308 100644 --- a/public/static/js/map_editor.js +++ b/public/static/js/map_editor.js @@ -377,8 +377,7 @@ LMapWrapper.divId = divId; LMapWrapper.map = L.map(LMapWrapper.divId, { center: { lat: 0., lng: 0. }, - zoom: 2, - zoomControl: false + zoom: 2 }); LMapWrapper.map.on('click', function (e) {