Lost panzoombar customization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Lost panzoombar customization


In my application I customized the panzoombar control to add title, alt and class attribute. Everything is working fine. When I set a new basemap with map.setBaseLayer(map.getLayersByName(layerName)[0]); I loose all my customization.

Is there a parameter I need to set to prevent this to happen?


Johann Levesque