yourcelf / olwidget

Javascript library to replace textareas that contain WKT data with editable OpenLayers maps, and a django app using it for django forms and admin.
Other
91 stars 44 forks source link

Using additional layer options with Infolayer #110

Open tmcadam opened 12 years ago

tmcadam commented 12 years ago

I am using olwidget with django and have created a map with multiple infolayers. It works well but I would like to have some of the infolayers switched off by default, when the page loads. I have been trying to add 'visibility': False to the layer options for the layers I want switched off, but it doesn't seem to work. Does anyone know why this might not work?

Cheers Tom