diff --git a/www/misc.js b/www/misc.js index 84f4ed3..713b5cf 100644 --- a/www/misc.js +++ b/www/misc.js @@ -121,7 +121,10 @@ var config = { GE_IBBN: 10, GR_BUG: 10, GR_KAST: 10, + NL_HGN: 3, NL_OPLO: 3, + NL_VKB: 3, + NL_WIT: 3, NL_WTSB: 3, }, }, @@ -136,6 +139,9 @@ $(document).ready(function() { if ( parameters['baselayer'] ) { config['map']['baselayer'] = parameters['baselayer'][0]; }; + if ( Number(parameters['lat']) && Number(parameters['lon']) ) { + config['map']['centerDefault'] = [Number(parameters['lat']), Number(parameters['lon'])]; + }; if ( Number(parameters['minmag']) ) { config['event']['minMag'] = Number(parameters['minmag']); };