enable zoomControl for Leaflet map to be consistent with Google map
All checks were successful
default-pipeline default-pipeline #157

This commit is contained in:
Bence Pőcze 2021-05-02 13:45:34 +02:00
parent e03850ce05
commit f9c1829a00
Signed by: bence
GPG Key ID: AA52B11A3269D1C1

View File

@ -377,8 +377,7 @@
LMapWrapper.divId = divId; LMapWrapper.divId = divId;
LMapWrapper.map = L.map(LMapWrapper.divId, { LMapWrapper.map = L.map(LMapWrapper.divId, {
center: { lat: 0., lng: 0. }, center: { lat: 0., lng: 0. },
zoom: 2, zoom: 2
zoomControl: false
}); });
LMapWrapper.map.on('click', function (e) { LMapWrapper.map.on('click', function (e) {