[OpenLayers-Users] Show and hide maps with a button in OpenLayers

OpenGSC 945070223 at qq.com
Thu Dec 6 17:31:55 PST 2012


I am wrong,if you remove div which is the container of the map ,the map also
removed.
so i think you would best not to use remove.but to use hide/or show function
about map's layers.




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Show-and-hide-maps-with-a-button-in-OpenLayers-tp5020705p5021339.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list