Patch from #674, approved by SDE, plus an example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3285 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -99,8 +99,10 @@ OpenLayers.Control.LayerSwitcher.prototype =
|
||||
this.loadContents();
|
||||
|
||||
// set mode to minimize
|
||||
this.minimizeControl();
|
||||
|
||||
if(!this.outsideViewport) {
|
||||
this.minimizeControl();
|
||||
}
|
||||
|
||||
// populate div with current info
|
||||
this.redraw();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user