mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-05 21:58:20 +08:00
Slight maps demo tweak
This commit is contained in:
1
dist/css/themes/ionic-ios7.css
vendored
1
dist/css/themes/ionic-ios7.css
vendored
@ -1,3 +1,4 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
/**
|
/**
|
||||||
* Nav controllers and header bar animations
|
* Nav controllers and header bar animations
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -46,6 +46,13 @@
|
|||||||
};
|
};
|
||||||
var map = new google.maps.Map(document.getElementById("map"),
|
var map = new google.maps.Map(document.getElementById("map"),
|
||||||
mapOptions);
|
mapOptions);
|
||||||
|
|
||||||
|
// Stop the side bar from dragging when mousedown/tapdown on the map
|
||||||
|
google.maps.event.addDomListener(document.getElementById('map'), 'mousedown', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
$scope.map = map;
|
$scope.map = map;
|
||||||
}
|
}
|
||||||
google.maps.event.addDomListener(window, 'load', initialize);
|
google.maps.event.addDomListener(window, 'load', initialize);
|
||||||
|
|||||||
Reference in New Issue
Block a user