[OpenLayers-Users] How to have overlays off by default
forums at 2kgt.com
Thu Jul 2 10:09:42 EDT 2009
Why is that better? Is it another way? Sure. Is it better? Not so sure, Why?
The solution I posted just shows how to set the visibility at time of Layer
construction. So if you do it 'your way' and set visibility prior to adding
the layer to the map, it makes no difference. Just curious as to why you
think it's 'better'.
> IMO, better way is to use setter:
> Barker, Doug wrote:
>> How do I have the overlays in a map turned off when the map starts up?
View this message in context: http://n2.nabble.com/How-to-have-overlays-off-by-default-tp3191421p3195235.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users