Added parametes to set map centre. Added station size config for all NL stations.
This commit is contained in:
parent
855826d2bb
commit
f374ee0a1c
Notes:
subgit
2018-03-07 17:58:56 +01:00
r654 www/trunk
@ -121,7 +121,10 @@ var config = {
|
|||||||
GE_IBBN: 10,
|
GE_IBBN: 10,
|
||||||
GR_BUG: 10,
|
GR_BUG: 10,
|
||||||
GR_KAST: 10,
|
GR_KAST: 10,
|
||||||
|
NL_HGN: 3,
|
||||||
NL_OPLO: 3,
|
NL_OPLO: 3,
|
||||||
|
NL_VKB: 3,
|
||||||
|
NL_WIT: 3,
|
||||||
NL_WTSB: 3,
|
NL_WTSB: 3,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -136,6 +139,9 @@ $(document).ready(function() {
|
|||||||
if ( parameters['baselayer'] ) {
|
if ( parameters['baselayer'] ) {
|
||||||
config['map']['baselayer'] = parameters['baselayer'][0];
|
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']) ) {
|
if ( Number(parameters['minmag']) ) {
|
||||||
config['event']['minMag'] = Number(parameters['minmag']);
|
config['event']['minMag'] = Number(parameters['minmag']);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user