diff --git a/examples/osm.html b/examples/osm.html index 519c396ba7..e6458f1c6a 100644 --- a/examples/osm.html +++ b/examples/osm.html @@ -4,7 +4,7 @@ - OpenLayers Basic Single WMS Example + OpenLayers Basic OSM Example diff --git a/lib/OpenLayers/Tile/BackBufferable.js b/lib/OpenLayers/Tile/BackBufferable.js index 689d7386d5..47c3e3198c 100644 --- a/lib/OpenLayers/Tile/BackBufferable.js +++ b/lib/OpenLayers/Tile/BackBufferable.js @@ -62,8 +62,7 @@ OpenLayers.Tile.BackBufferable = OpenLayers.Class(OpenLayers.Tile, { * {Boolean} Was a tile drawn? */ draw: function() { - var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments), - backBufferMode = this.backBufferMode; + var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments); if (draw) { this.updateBackBuffer(); }