Merge pull request 'bugfix/streetviewcontrol-is-still-visible' (#34) from bugfix/streetviewcontrol-is-still-visible into develop
All checks were successful
default-pipeline default-pipeline #161

Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/34
This commit is contained in:
Bence Pőcze 2021-05-02 16:27:34 +02:00 committed by Gitea
commit aaa5a1daba
No known key found for this signature in database
GPG Key ID: 2E27A8C281A1CC2C

View File

@ -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) {
@ -517,6 +516,7 @@
zoomControlOptions: {
position: google.maps.ControlPosition.LEFT_BOTTOM
},
streetViewControl: false,
draggableCursor: 'crosshair'
});