mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-05 02:36:45 +00:00
Merge pull request #47 from sumnerboy12/master
Set map maxZoom to stop over-zoom when fitBounds called
This commit is contained in:
@@ -11,6 +11,7 @@ function initialize() {
|
||||
mapOptions = {
|
||||
center: center,
|
||||
zoom: 3, // 9,
|
||||
maxZoom: 18, // don't overzoom (should this be configurable?)
|
||||
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
||||
scrollwheel: false,
|
||||
disableDefaultUI: false,
|
||||
|
||||
Reference in New Issue
Block a user