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

Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/34
This commit was merged in pull request #34.
This commit is contained in:
bence authored and Gitea committed 2021-05-02 16:27:34 +02:00
commit aaa5a1daba
1 file changed
+2 -2
+2 -2
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) {
@@ -517,6 +516,7 @@
zoomControlOptions: { zoomControlOptions: {
position: google.maps.ControlPosition.LEFT_BOTTOM position: google.maps.ControlPosition.LEFT_BOTTOM
}, },
streetViewControl: false,
draggableCursor: 'crosshair' draggableCursor: 'crosshair'
}); });