Commit de295b6c authored by Zenon Mousmoulas's avatar Zenon Mousmoulas

Now that we have a working solution for mobile, full-width maps, (re-)enable

scrolling and dragging
parent fecdd9f7
......@@ -59,11 +59,11 @@
geocoder = new google.maps.Geocoder();
// disable scrolling/draging in maps
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
isDraggable = false;
isDraggable = true;
isScrollable = true;
} else {
isDraggable = true;
isScrollable = false;
isScrollable = true;
}
var mapOptions = {
......
......@@ -59,11 +59,11 @@
geocoder = new google.maps.Geocoder();
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
isDraggable = false;
isDraggable = true;
isScrollable = true;
} else {
isDraggable = true;
isScrollable = false;
isScrollable = true;
}
var mapOptions = {
center : latlng,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment