Compare commits

..

2 Commits

Author SHA1 Message Date
c4c03d5dfb
move street view cover button to the map as circleControl
All checks were successful
default-pipeline default-pipeline #159
2021-05-02 14:54:00 +02:00
26c5a78b90
make circle control items more general 2021-05-02 14:53:50 +02:00

View File

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