if focuschatballoons is at false, disableAutoPan should be at true

This commit is contained in:
Daniel Chesters 2011-02-14 21:53:07 +01:00
parent a1c86bfabb
commit 24c9dfed41
1 changed files with 1 additions and 1 deletions

View File

@ -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 {