Merge branch '2.12'

This commit is contained in:
Éric Lemoine
2012-05-10 15:54:54 +02:00
3 changed files with 3 additions and 3 deletions

View File

@@ -414,4 +414,4 @@
/**
* Constant: VERSION_NUMBER
*/
OpenLayers.VERSION_NUMBER="Release 2.12-rc2";
OpenLayers.VERSION_NUMBER="Release 2.12-rc3";

View File

@@ -1015,7 +1015,7 @@ OpenLayers.Layer = OpenLayers.Class({
this.maxExtent != null) {
// maxResolution for default grid sets assumes that at zoom
// level zero, the whole world fits on one tile.
var tileSize = this.tileSize || this.map.getTileSize();
var tileSize = this.map.getTileSize();
maxResolution = Math.max(
this.maxExtent.getWidth() / tileSize.w,
this.maxExtent.getHeight() / tileSize.h

View File

@@ -7,7 +7,7 @@ var OpenLayers = {
/**
* Constant: VERSION_NUMBER
*/
VERSION_NUMBER: "Release 2.12-rc2",
VERSION_NUMBER: "Release 2.12-rc3",
/**
* Constant: singleFile