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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user