[OpenLayers-Dev] Lost panzoombar customization

jolevesq jolevesq at nrcan.gc.ca
Wed May 1 09:11:22 PDT 2013


Hi,

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?

Thanks

Johann Levesque



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Lost-panzoombar-customization-tp5050673.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list