[OpenLayers-Commits] r11727 - sandbox/ahocevar/bergfex
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Thu Mar 24 04:10:27 EDT 2011
Author: ahocevar
Date: 2011-03-24 01:10:26 -0700 (Thu, 24 Mar 2011)
New Revision: 11727
Modified:
sandbox/ahocevar/bergfex/index.html
Log:
new static url
Modified: sandbox/ahocevar/bergfex/index.html
===================================================================
--- sandbox/ahocevar/bergfex/index.html 2011-03-23 16:37:23 UTC (rev 11726)
+++ sandbox/ahocevar/bergfex/index.html 2011-03-24 08:10:26 UTC (rev 11727)
@@ -60,7 +60,8 @@
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
restrictedExtent: new OpenLayers.Bounds(1050550.516554,5839177.463709,1912760.195457,6283123.72391),
- controls: [new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoom()],
+ controls: [new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoom(), new OpenLayers.Control.Attribution()],
+ theme: null,
eventListeners: {
"zoomend": function() {
if(map.getZoom() > 15 || map.getZoom() < 8) {
@@ -77,9 +78,11 @@
}
} );
var bergfex = new OpenLayers.Layer.XYZ( "Bergfex",
- "http://static3.bergfex.at/images/amap/${z}$folder/${z}_${x}_${y}.png",
+ "http://static5.bergfex.at/images/amap/${z}$folder/${z}_${x}_${y}.png",
{
sphericalMercator: true,
+ buffer: 0,
+ attribution: "© 2008, 2010 BEV, <a href='http://www.bergfex.at'>bergfex GmbH</a>",
getURL: function(bounds) {
var path = OpenLayers.Layer.XYZ.prototype.getURL.apply(this, arguments);
var parts = path.split("$folder/");
More information about the Commits
mailing list