add zoom level to parseQueryString evaluation
This commit is contained in:
parent
4e97e09466
commit
94d6e63b0f
@ -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']});
|
||||
|
Loading…
Reference in New Issue
Block a user