fix for #683 -- fixes markers layer visibility/inrangeitude on startup
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3103 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