Hi, it seems you are right. If I paste whole info variable to init function and if/else to another function triggered when I click on checkbox it's OK, but it brings another problem for me. I need changing dynamically some part of code in info variable like queryVisible, layers and so and if it is in init function, I can't. Have this problem some solution? Something like destroy info before I deactivate it?
Thanks Dan -- View this message in context: http://osgeo-org.1560.n6.nabble.com/wmsGetFeatureInfo-deactivate-button-tp4692153p4692468.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
