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
});
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", {
labelYOffset: 12,
fontWeight: "bold"
})
-
}),
rendererOptions: {yOrdering: true}
});