mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-04 21:30:00 +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
|
||||
*/
|
||||
|
||||
@ -46,6 +46,13 @@
|
||||
};
|
||||
var map = new google.maps.Map(document.getElementById("map"),
|
||||
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;
|
||||
}
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
|
||||
Reference in New Issue
Block a user