Skip to content

Commit

Permalink
Add change handler for disableDefaultUI
Browse files Browse the repository at this point in the history
  • Loading branch information
robdodson committed Apr 21, 2014
1 parent b8754d1 commit 171826f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions google-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@
this.centerMarker.setPosition(this.map.getCenter());
this.centerMarker.setMap(this.showCenterMarker ? this.map : null);
}
},
disableDefaultUIChanged: function() {
if (!this.map) {
return;
}
this.map.setOptions({disableDefaultUI: this.disableDefaultUI});
}
});
})();
Expand Down

0 comments on commit 171826f

Please sign in to comment.