remove builtin streetViewControl from google map

This commit is contained in:
bence committed 2021-05-02 13:13:11 +02:00
1 parent 19a1b79b0a
commit 3045d8acbb
1 file changed
+1 -5
+1 -5
View File
@@ -399,7 +399,7 @@
} }
LMapWrapper.loadMarkers(places); LMapWrapper.loadMarkers(places);
document.getElementById('streetViewCoverSelector').disabled = true; document.getElementById('streetViewCoverSelector').disabled = true;
}, },
@@ -513,10 +513,6 @@
zoomControlOptions: { zoomControlOptions: {
position: google.maps.ControlPosition.LEFT_BOTTOM position: google.maps.ControlPosition.LEFT_BOTTOM
}, },
streetViewControl: true,
streetViewControlOptions: {
position: google.maps.ControlPosition.LEFT_BOTTOM
},
draggableCursor: 'crosshair' draggableCursor: 'crosshair'
}); });