[OpenLayers-Users] How to have overlays off by default

Eric Lemoine eric.lemoine at camptocamp.com
Tue Jul 7 16:05:05 EDT 2009


On Monday, July 6, 2009, HKChad <forums at 2kgt.com> wrote:
>
> If this weren't being done inside of the Constructor then I'd agree w/ you
> 100%. However when done at time of construction setting the property vs
> using the setter are exactly the same. Otherwise, what good is there in
> setting params in the constructor? (that was a rhetorical question).

AFAICT doing visibility:false in the constructor is perfectly safe.




-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list