Removing getBoundsFromBaseLayer method.

This method is only needed when the deprecated reproject option is set to true.
This commit is contained in:
ahocevar
2011-11-18 13:06:28 +01:00
parent f713360c67
commit 4f58ff0352
10 changed files with 105 additions and 156 deletions
+1 -1
View File
@@ -164,7 +164,7 @@
{layers: "bathymetry,land_fn,park,drain_fn,drainage," +
"prov_bound,fedlimit,rail,road,popplace",
transparent: "true", format: "image/png"},
{wrapDateLine: true, reproject: false,encodeBBOX:true, buffer:2});
{wrapDateLine: true, encodeBBOX:true, buffer:2});
var m = new OpenLayers.Map('map', {adjustZoom: function(z) {return z;}});
m.addLayers([baselayer,layer]);
m.zoomToMaxExtent();