Add support for 'webpage-title' setting, default title to server-name
This commit is contained in:
parent
4db2d81fc1
commit
7f7b8c7fcb
3 changed files with 10 additions and 0 deletions
|
|
@ -101,6 +101,9 @@ DynMap.prototype = {
|
|||
.addClass('map')
|
||||
.appendTo(container);
|
||||
|
||||
if(me.options.title)
|
||||
document.title = me.options.title;
|
||||
|
||||
var urlzoom = me.getIntParameterByName('zoom');
|
||||
if(urlzoom != null)
|
||||
me.options.defaultzoom = urlzoom;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue