Merge branch 'fix-map' into dev
commit
78472c4df4
|
@ -16,11 +16,12 @@
|
|||
.call2action {
|
||||
height: 80px;
|
||||
position: absolute;
|
||||
bottom: 20vh;
|
||||
bottom: 8vh;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 700px;
|
||||
max-width: 100%;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.call2action h3 {
|
||||
|
|
|
@ -19,15 +19,13 @@ $(document).ready(function() {
|
|||
style: 'mapbox://styles/pierros/cj8kftshl4zll2slbelhkndwo',
|
||||
zoom: 2,
|
||||
minZoom: 2,
|
||||
scrollZoom: false,
|
||||
center: [10,29]
|
||||
});
|
||||
|
||||
map.addControl(new mapboxgl.NavigationControl());
|
||||
map.touchZoomRotate.disableRotation();
|
||||
map.dragRotate.disable();
|
||||
if ('ontouchstart' in window) {
|
||||
map.dragPan.disable();
|
||||
if (!('ontouchstart' in window)) {
|
||||
map.addControl(new mapboxgl.NavigationControl());
|
||||
}
|
||||
|
||||
map.on('load', function () {
|
||||
|
|
Loading…
Reference in New Issue