add zoom level to parseQueryString evaluation

This commit is contained in:
Kasper D. Fischer 2023-04-17 11:12:54 +02:00
parent 4e97e09466
commit 94d6e63b0f

View File

@ -198,6 +198,10 @@ $(document).ready(function() {
config['tab']['active'] = Number(parameters['tab']);
};
};
if ( Number(parameters['zomm']) ) {
config['map']['zommDefault'] = Number(parameters['zoom']);
config['map']['zoomFocus'] = Number(parameters['zoom']+3);
};
// AJAX setup
$.ajaxSetup({timeout: config['ajax']['timeout']});