Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
Disable default UI, double click to zoom, and the scrollwheel by defa…
Browse files Browse the repository at this point in the history
…ult.
  • Loading branch information
tristandunn committed Jan 20, 2013
1 parent d1d76d4 commit b44a1f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions jquery.auto-geocoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,13 @@
zoom : 'auto'
},
initial : {
zoom : 1,
center : [34, 0],
draggable : false,
mapTypeId : google.maps.MapTypeId.ROADMAP,
mapTypeControl : false
zoom : 1,
center : [34, 0],
draggable : false,
mapTypeId : google.maps.MapTypeId.ROADMAP,
scrollwheel : false,
disableDefaultUI : true,
disableDoubleClickZoom : true
}
};
})(jQuery);
2 changes: 1 addition & 1 deletion jquery.auto-geocoder.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b44a1f2

Please sign in to comment.