I think you only remove div ,but doesn't remove map
you ought to add some sentence in createmap1 function to judge whether map
has been created,if it was,show,if not create map




I am OGCer V1.0 owner!



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Show-and-hide-maps-with-a-button-in-OpenLayers-tp5020705p5020808.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

Reply via email to