Unified whitespace.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 12 Dec 2012 13:21:20 +0000 (13:21 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 12 Dec 2012 13:21:20 +0000 (13:21 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/extensions/wrmap@1231 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.js

index b146387e4041faca7ecd15e4cc3188bda4d427f0..779145373fcc8cc2354f6625731f042a93d7a029 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -3,15 +3,15 @@ function init_wrmap(i, jq_map) {
        var jq_sledruns = jq_map.children();
        jq_sledruns.detach();
        
-    // Introduce EPSG:3857 as an alias of the built in EPSG:900913 projection (both are the "Google/OSM" projections)
+       // Introduce EPSG:3857 as an alias of the built in EPSG:900913 projection (both are the "Google/OSM" projections)
        var EPSG4326 = new OpenLayers.Projection("EPSG:4326"); // lon/lat 
        var EPSG3857 = new OpenLayers.Projection("EPSG:3857"); // google
 
        // Create the map
-    var map = new OpenLayers.Map(jq_map.context, {
-        projection: EPSG3857,
-        displayProjection: EPSG4326,
-        units: "m",
+       var map = new OpenLayers.Map(jq_map.context, {
+               projection: EPSG3857,
+               displayProjection: EPSG4326,
+               units: "m",
                theme: null
        });
 
@@ -20,13 +20,13 @@ function init_wrmap(i, jq_map) {
                type: google.maps.MapTypeId.TERRAIN
        });
 
-    // // Alternative: OSM map
-    // var layer_map = new OpenLayers.Layer.OSM();
-    
-    // // Alternative: Microsoft Bing Maps
-    // var layer_map = new OpenLayers.Layer.Bing({
-    //     type: "Road",
-    //     key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA"});
+       // // Alternative: OSM map
+       // var layer_map = new OpenLayers.Layer.OSM();
+       
+       // // Alternative: Microsoft Bing Maps
+       // var layer_map = new OpenLayers.Layer.Bing({
+       //     type: "Road",
+       //     key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA"});
        
        // Sledrun layer
        var layer_sledruns = new OpenLayers.Layer.Vector("Rodelbahnen", {
@@ -52,7 +52,6 @@ function init_wrmap(i, jq_map) {
                                labelYOffset: 12,
                                fontWeight: "bold"
                        })
-
                }),
                rendererOptions: {yOrdering: true}
        });