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:
euzuro
2007-05-01 14:04:19 +00:00
parent 5a3c861051
commit 937c0032fa

View File

@@ -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