if focuschatballoons is at false, disableAutoPan should be at true
This commit is contained in:
parent
b048ff737f
commit
1d5bf4528c
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ DynMap.prototype = {
|
||||||
popup.popupTime = now.getTime();
|
popup.popupTime = now.getTime();
|
||||||
if (!popup.infoWindow) {
|
if (!popup.infoWindow) {
|
||||||
popup.infoWindow = new google.maps.InfoWindow({
|
popup.infoWindow = new google.maps.InfoWindow({
|
||||||
disableAutoPan: me.options.focuschatballoons || false,
|
disableAutoPan: !me.options.focuschatballoons || false,
|
||||||
content: htmlMessage
|
content: htmlMessage
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue