Added 'focuschatballoons' to config influenced by Incendia's suggestion.
This commit is contained in:
parent
9951baf8b5
commit
902cc87458
2 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ web:
|
||||||
showchatballoons: true
|
showchatballoons: true
|
||||||
showplayerfacesonmap: true
|
showplayerfacesonmap: true
|
||||||
showplayerfacesinmenu: true
|
showplayerfacesinmenu: true
|
||||||
|
focuschatballoons: false
|
||||||
|
|
||||||
# The name of the map shown when opening Dynmap's page (must be in menu).
|
# The name of the map shown when opening Dynmap's page (must be in menu).
|
||||||
defaultmap: defaultmap
|
defaultmap: defaultmap
|
||||||
|
|
|
||||||
|
|
@ -323,6 +323,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
|
||||||
content: htmlMessage
|
content: htmlMessage
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue