new layerswitcher, improved google layer, boxes layer, grid fix

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-08 18:20:24 +00:00
parent 138d22af3f
commit f3a072b151
38 changed files with 1474 additions and 353 deletions

View File

@@ -136,7 +136,7 @@ OpenLayers.Layer.Grid.prototype =
*/
moveTo:function(bounds, zoomChanged, minor) {
if (bounds == null) {
bounds = this.map.getBounds();
bounds = this.map.getExtent();
}
if (bounds != null) {
if (!this.getVisibility()) {