1
0
Fork 0

Merge branch 'fix-map' into dev

environments/stage/deployments/96
Nikos Roussos 2018-03-15 18:34:01 +02:00
commit 78472c4df4
No known key found for this signature in database
GPG Key ID: BADFF1767BA7C8E1
2 changed files with 4 additions and 5 deletions

View File

@ -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 {

View File

@ -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 () {