From 3045d8acbbf830f1fcf5c1fbc23bbc7cc6267d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 2 May 2021 13:13:11 +0200 Subject: [PATCH] remove builtin streetViewControl from google map --- public/static/js/map_editor.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/public/static/js/map_editor.js b/public/static/js/map_editor.js index b2dab91..c72a638 100644 --- a/public/static/js/map_editor.js +++ b/public/static/js/map_editor.js @@ -399,7 +399,7 @@ } LMapWrapper.loadMarkers(places); - + document.getElementById('streetViewCoverSelector').disabled = true; }, @@ -513,10 +513,6 @@ zoomControlOptions: { position: google.maps.ControlPosition.LEFT_BOTTOM }, - streetViewControl: true, - streetViewControlOptions: { - position: google.maps.ControlPosition.LEFT_BOTTOM - }, draggableCursor: 'crosshair' });