Closed GoogleCodeExporter closed 8 years ago
Hi gerpres-
Can you try changing your LabeledMarker applyLabelVisibility_ function to the
following, and let me know if it fixes it?
LabeledMarker.prototype.applyLabelVisibility_ = function () {
if ((!this.isHidden()) && this.labelVisibility_ && this.div_) {
this.div_.style.display = 'block';
} else {
this.div_.style.display = 'none';
}
};
Original comment by pamela.fox
on 8 Mar 2009 at 8:36
this would not work, because if the div is undefined, this code would try to
access
the div in the else-block.
the change should look something like this:
if(this.div_){
if ((!this.isHidden()) && this.labelVisibility_) {
this.div_.style.display = 'block';
} else {
this.div_.style.display = 'none';
}
}
cu
Original comment by gerp...@gmail.com
on 9 Mar 2009 at 7:09
Thanks, good catch.
Original comment by pamela.fox
on 26 Mar 2009 at 1:02
Committed fix in r965.
Original comment by pamela.fox
on 26 Mar 2009 at 1:03
Original comment by pamela.fox
on 23 Jun 2009 at 9:57
Original issue reported on code.google.com by
gerp...@gmail.com
on 6 Mar 2009 at 11:55