Code cleaning.
This commit is contained in:
		
							parent
							
								
									23ea60ba31
								
							
						
					
					
						commit
						b619bb6a3c
					
				
				
				Notes:
				
					subgit
				
				2018-03-07 17:58:40 +01:00 
			
			r477 www/trunk
| @ -2,7 +2,7 @@ | ||||
|  * JavaScript code to generate maps used by the | ||||
|  * Seismological Observatory of the Ruhr-University Bochum | ||||
|  *  | ||||
|  * Copyright 2012 Kasper D. Fischer <kasper.fischer@rub.de> | ||||
|  * Copyright 2013 Kasper D. Fischer <kasper.fischer@rub.de> | ||||
|  *  | ||||
|  * License | ||||
|  * | ||||
| @ -61,8 +61,7 @@ function init(showGoogle, showStations, showQuakes, noFrils) { | ||||
| 					new OpenLayers.Control.Navigation(), | ||||
| 					new OpenLayers.Control.Permalink({anchor: true}), | ||||
| 					new OpenLayers.Control.ScaleLine({geodesic: true}) | ||||
| 				], | ||||
| 				zoom: 9 | ||||
| 				] | ||||
| 			} | ||||
| 		); | ||||
| 	}; | ||||
| @ -218,9 +217,6 @@ function init(showGoogle, showStations, showQuakes, noFrils) { | ||||
| 	if (!map.getCenter()) { | ||||
| 		map.setCenter(new OpenLayers.LonLat(7.5, 51.8).transform('EPSG:4326','EPSG:900913'), 9); | ||||
| 	} | ||||
| 	/* if (!map.getZoom()) { | ||||
| 		map.zoomTo(9); | ||||
| 	} */ | ||||
| 
 | ||||
| 	// Enable animated zoom
 | ||||
| 	for (var i=map.layers.length-1; i>=0; --i) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user