Merge changes from trunk to 2.4:
svn merge trunk/openlayers/@3088 trunk/openlayers/@HEAD branches/openlayers/2.4/ Changes include: * Improved GML parsing to catch fid better * Letting panels pass mouseup through * Fixing small bug in panel example * Display of markers/layers when out of range on startup. * Fix to aspect ratio of Overview Map. git-svn-id: http://svn.openlayers.org/branches/openlayers/2.4@3112 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -286,6 +286,8 @@ OpenLayers.Layer.prototype = {
|
||||
|
||||
if (!this.isBaseLayer) {
|
||||
this.inRange = this.calculateInRange();
|
||||
var show = ((this.visibility) && (this.inRange));
|
||||
this.div.style.display = show ? "" : "none";
|
||||
}
|
||||
|
||||
// deal with gutters
|
||||
|
||||
Reference in New Issue
Block a user