fixing typo
This commit is contained in:
parent
74085e5e6f
commit
5365914033
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,3 +9,5 @@ www/geolocationTable.js
|
||||
www/stations.xml
|
||||
|
||||
.vscode/settings.json
|
||||
|
||||
www/index.html
|
||||
|
@ -25,7 +25,7 @@
|
||||
/* calculate marker radius from magnitude
|
||||
* both formulas have equal radii at mag=1.2 */
|
||||
function mag2radius(mag) {
|
||||
return 3*mag; // radius proportional to magagnitude
|
||||
return 3*mag; // radius proportional to magnitude
|
||||
// return 8.104*Math.pow(30,mag) // radius proportional to energy
|
||||
};
|
||||
|
||||
@ -172,6 +172,9 @@ $(document).ready(function() {
|
||||
if ( parameters['baselayer']) {
|
||||
config['map']['baselayer'] = parameters['baselayer'][0];
|
||||
};
|
||||
if ( parameters['basemap']) {
|
||||
config['map']['baselayer'] = parameters['basemap'][0];
|
||||
};
|
||||
if ( Number(parameters['lat']) && Number(parameters['lon']) ) {
|
||||
config['map']['centerDefault'] = [Number(parameters['lat']), Number(parameters['lon'])];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user