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 | 	You should have received a copy of the GNU General Public License along | ||||||
| 	with this program. If not, see http://www.gnu.org/licenses/.
 | 	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 */ | /* 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 | 	You should have received a copy of the GNU General Public License along | ||||||
| 	with this program. If not, see http://www.gnu.org/licenses/. | 	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 */ | /* 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'> | <!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'> | <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'> | ||||||
| <head> | <head> | ||||||
| 	<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | 	<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'> | <!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'> | <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'> | ||||||
| <head> | <head> | ||||||
| 	<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | 	<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 | 	You should have received a copy of the GNU General Public License along | ||||||
| 	with this program. If not, see https://www.gnu.org/licenses/.
 | 	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 */ | /* add station marker */ | ||||||
| @ -153,14 +153,11 @@ $(document).ready(function() { | |||||||
| 	case 'opentopo': // add OpenTopoMap tile layer
 | 	case 'opentopo': // add OpenTopoMap tile layer
 | ||||||
| 		L.tileLayer.provider('OpenTopoMap').addTo(map); | 		L.tileLayer.provider('OpenTopoMap').addTo(map); | ||||||
| 		break; | 		break; | ||||||
| 	case 'osmde': // add OpenStreetMap.DE tile layer, default
 |  | ||||||
| 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); |  | ||||||
| 		break; |  | ||||||
| 	case 'mapnik': // add OpenStreetMap.Mapni tile layer
 | 	case 'mapnik': // add OpenStreetMap.Mapni tile layer
 | ||||||
| 		L.tileLayer.provider('OpenStreetMap.Mapnik').addTo(map); | 		L.tileLayer.provider('OpenStreetMap.Mapnik').addTo(map); | ||||||
| 		break; | 		break; | ||||||
| 	default: // use OpenStreetMap.DE as default
 | 	default: // use OpenStreetMap.DE as default
 | ||||||
| 		L.tileLayer.provider(config['map']['baselayer']).addTo(map); | 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); | ||||||
| 	}; | 	}; | ||||||
| 
 | 
 | ||||||
| 	// add controls
 | 	// add controls
 | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ | |||||||
| 	You should have received a copy of the GNU General Public License along | 	You should have received a copy of the GNU General Public License along | ||||||
| 	with this program. If not, see https://www.gnu.org/licenses/. | 	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 */ | /* add station marker */ | ||||||
| @ -154,14 +154,11 @@ $(document).ready(function() { | |||||||
| 	case 'opentopo': // add OpenTopoMap tile layer | 	case 'opentopo': // add OpenTopoMap tile layer | ||||||
| 		L.tileLayer.provider('OpenTopoMap').addTo(map); | 		L.tileLayer.provider('OpenTopoMap').addTo(map); | ||||||
| 		break; | 		break; | ||||||
| 	case 'osmde': // add OpenStreetMap.DE tile layer, default |  | ||||||
| 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); |  | ||||||
| 		break; |  | ||||||
| 	case 'mapnik': // add OpenStreetMap.Mapni tile layer | 	case 'mapnik': // add OpenStreetMap.Mapni tile layer | ||||||
| 		L.tileLayer.provider('OpenStreetMap.Mapnik').addTo(map); | 		L.tileLayer.provider('OpenStreetMap.Mapnik').addTo(map); | ||||||
| 		break; | 		break; | ||||||
| 	default: // use OpenStreetMap.DE as default | 	default: // use OpenStreetMap.DE as default | ||||||
| 		L.tileLayer.provider(config['map']['baselayer']).addTo(map); | 		L.tileLayer.provider('OpenStreetMap.DE').addTo(map); | ||||||
| 	}; | 	}; | ||||||
| 	// add controls | 	// add controls | ||||||
| 	new L.Control.Zoom({ position: 'topright' }).addTo(map); | 	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 | 	You should have received a copy of the GNU General Public License along | ||||||
| 	with this program. If not, see http://www.gnu.org/licenses/.
 | 	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 | /* calculate marker radius from magnitude | ||||||
| @ -101,7 +101,7 @@ var config = { | |||||||
| 		markerOpacity: 0.4, | 		markerOpacity: 0.4, | ||||||
| 		markerColor: 'blue', | 		markerColor: 'blue', | ||||||
| 		markerColorH: 'red', | 		markerColorH: 'red', | ||||||
| 		minMag: 1.2, | 		minMag: 0.7, | ||||||
| 		minMagDelta: 0.1, | 		minMagDelta: 0.1, | ||||||
| 		typeWhitelist: ['earthquake', 'induced or triggered event', 'controlled explosion'], | 		typeWhitelist: ['earthquake', 'induced or triggered event', 'controlled explosion'], | ||||||
| 		// typeWhitelist: ['earthquake', 'induced or triggered event', 'controlled explosion', 'nuclear 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 | 	You should have received a copy of the GNU General Public License along | ||||||
| 	with this program. If not, see http://www.gnu.org/licenses/.
 | 	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 */ | /* Load the stations using ajax */ | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ | |||||||
| 	You should have received a copy of the GNU General Public License along | 	You should have received a copy of the GNU General Public License along | ||||||
| 	with this program. If not, see http://www.gnu.org/licenses/. | 	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 */ | /* Load the stations using ajax */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user