add zoom level to parseQueryString evaluation
This commit is contained in:
parent
4e97e09466
commit
6d62279199
@ -4,7 +4,7 @@
|
|||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
/* License
|
/* License
|
||||||
Copyright 2014-2021 Kasper D. Fischer <kasper.fischer@rub.de>
|
Copyright 2014-2023 Kasper D. Fischer <kasper.fischer@rub.de>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This program is free software: you can redistribute it and/or modify it
|
||||||
under the terms of the GNU General Public License as published by the Free
|
under the terms of the GNU General Public License as published by the Free
|
||||||
@ -198,6 +198,10 @@ $(document).ready(function() {
|
|||||||
config['tab']['active'] = Number(parameters['tab']);
|
config['tab']['active'] = Number(parameters['tab']);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
if ( Number(parameters['zoom']) ) {
|
||||||
|
config['map']['zoomDefault'] = Number(parameters['zoom']);
|
||||||
|
config['map']['zoomFocus'] = Number(parameters['zoom'])+3;
|
||||||
|
};
|
||||||
|
|
||||||
// AJAX setup
|
// AJAX setup
|
||||||
$.ajaxSetup({timeout: config['ajax']['timeout']});
|
$.ajaxSetup({timeout: config['ajax']['timeout']});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user