hotfix-20211017.2: broken default basemap
fixed borken default basemap decrease default minMag to 0.7
This commit is contained in:
		
							parent
							
								
									db1f4758f5
								
							
						
					
					
						commit
						a659f47a87
					
				| @ -19,7 +19,7 @@ | ||||
| 	You should have received a copy of the GNU General Public License along | ||||
| 	with this program. If not, see http://www.gnu.org/licenses/.
 | ||||
| 
 | ||||
| 	Version r20211017.1 (2021-10-17) | ||||
| 	Version r20211017.2 (2021-10-17) | ||||
| */ | ||||
| 
 | ||||
| /* adding row(s) to a table and format date strings afterwards */ | ||||
|  | ||||
| @ -19,7 +19,7 @@ | ||||
| 	You should have received a copy of the GNU General Public License along | ||||
| 	with this program. If not, see http://www.gnu.org/licenses/. | ||||
| 
 | ||||
| 	Version r20211017.1 (2021-10-17) | ||||
| 	Version r20211017.2 (2021-10-17) | ||||
| */ | ||||
| 
 | ||||
| /* adding row(s) to a table and format date strings afterwards */ | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> | ||||
| <!-- r20211017.1 (2021-10-17) --> | ||||
| <!-- r20211017.2 (2021-10-17) --> | ||||
| <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'> | ||||
| <head> | ||||
| 	<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> | ||||
| <!-- r20211017.1 (2021-10-17) --> | ||||
| <!-- r20211017.2 (2021-10-17) --> | ||||
| <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'> | ||||
| <head> | ||||
| 	<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | ||||
|  | ||||
| @ -19,7 +19,7 @@ | ||||
| 	You should have received a copy of the GNU General Public License along | ||||
| 	with this program. If not, see https://www.gnu.org/licenses/.
 | ||||
| 
 | ||||
| 	Version r20211017.1 (2021-10-17) | ||||
| 	Version r20211017.2 (2021-10-17) | ||||
| */ | ||||
| 
 | ||||
| /* add station marker */ | ||||
| @ -153,14 +153,11 @@ $(document).ready(function() { | ||||
| 	case 'opentopo': // add OpenTopoMap tile layer
 | ||||
| 		L.tileLayer.provider('OpenTopoMap').addTo(map); | ||||
| 		break; | ||||
| 	case 'osmde': // add OpenStreetMap.DE tile layer, default
 | ||||
| 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); | ||||
| 		break; | ||||
| 	case 'mapnik': // add OpenStreetMap.Mapni tile layer
 | ||||
| 		L.tileLayer.provider('OpenStreetMap.Mapnik').addTo(map); | ||||
| 		break; | ||||
| 	default: // use OpenStreetMap.DE as default
 | ||||
| 		L.tileLayer.provider(config['map']['baselayer']).addTo(map); | ||||
| 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); | ||||
| 	}; | ||||
| 
 | ||||
| 	// add controls
 | ||||
|  | ||||
| @ -19,7 +19,7 @@ | ||||
| 	You should have received a copy of the GNU General Public License along | ||||
| 	with this program. If not, see https://www.gnu.org/licenses/. | ||||
| 
 | ||||
| 	Version r20211017.1 (2021-10-17) | ||||
| 	Version r20211017.2 (2021-10-17) | ||||
| */ | ||||
| 
 | ||||
| /* add station marker */ | ||||
| @ -154,14 +154,11 @@ $(document).ready(function() { | ||||
| 	case 'opentopo': // add OpenTopoMap tile layer | ||||
| 		L.tileLayer.provider('OpenTopoMap').addTo(map); | ||||
| 		break; | ||||
| 	case 'osmde': // add OpenStreetMap.DE tile layer, default | ||||
| 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); | ||||
| 		break; | ||||
| 	case 'mapnik': // add OpenStreetMap.Mapni tile layer | ||||
| 		L.tileLayer.provider('OpenStreetMap.Mapnik').addTo(map); | ||||
| 		break; | ||||
| 	default: // use OpenStreetMap.DE as default | ||||
| 		L.tileLayer.provider(config['map']['baselayer']).addTo(map); | ||||
| 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); | ||||
| 	}; | ||||
| 	// add controls | ||||
| 	new L.Control.Zoom({ position: 'topright' }).addTo(map); | ||||
|  | ||||
| @ -19,7 +19,7 @@ | ||||
| 	You should have received a copy of the GNU General Public License along | ||||
| 	with this program. If not, see http://www.gnu.org/licenses/.
 | ||||
| 
 | ||||
| 	Version r20211017.1 (2021-10-17) | ||||
| 	Version r20211017.2 (2021-10-17) | ||||
| */ | ||||
| 
 | ||||
| /* calculate marker radius from magnitude | ||||
| @ -101,7 +101,7 @@ var config = { | ||||
| 		markerOpacity: 0.4, | ||||
| 		markerColor: 'blue', | ||||
| 		markerColorH: 'red', | ||||
| 		minMag: 1.2, | ||||
| 		minMag: 0.7, | ||||
| 		minMagDelta: 0.1, | ||||
| 		typeWhitelist: ['earthquake', 'induced or triggered event', 'controlled explosion'], | ||||
| 		// typeWhitelist: ['earthquake', 'induced or triggered event', 'controlled explosion', 'nuclear explosion'],
 | ||||
|  | ||||
| @ -19,7 +19,7 @@ | ||||
| 	You should have received a copy of the GNU General Public License along | ||||
| 	with this program. If not, see http://www.gnu.org/licenses/.
 | ||||
| 
 | ||||
| 	Version r20211017.1 (2021-10-17) | ||||
| 	Version r20211017.2 (2021-10-17) | ||||
| */ | ||||
| 
 | ||||
| /* Load the stations using ajax */ | ||||
|  | ||||
| @ -19,7 +19,7 @@ | ||||
| 	You should have received a copy of the GNU General Public License along | ||||
| 	with this program. If not, see http://www.gnu.org/licenses/. | ||||
| 
 | ||||
| 	Version r20211017.1 (2021-10-17) | ||||
| 	Version r20211017.2 (2021-10-17) | ||||
| */ | ||||
| 
 | ||||
| /* Load the stations using ajax */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user