Skip to content

Commit

Permalink
if focuschatballoons is at false, disableAutoPan should be at true
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielChesters committed Feb 14, 2011
1 parent a1c86bf commit 24c9dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ DynMap.prototype = {
popup.popupTime = now.getTime();
if (!popup.infoWindow) {
popup.infoWindow = new google.maps.InfoWindow({
disableAutoPan: me.options.focuschatballoons || false,
disableAutoPan: !me.options.focuschatballoons || false,
content: htmlMessage
});
} else {
Expand Down

0 comments on commit 24c9dfe

Please sign in to comment.