Ticket #2750 (closed bug: fixed)
setVisibility(false) not respected before layer is fully loaded
|Reported by:||ahocevar||Owned by:|
When setVisibility(false) is called on a Google layer right after map instantiation, the layer has not finished the repositionMapElements method, which will set the visibility to true.
The attached patch fixes this issue. Tests still pass. Thanks for any review.