Hi!

The problem is that if I try to hide and remove the id after using the
function createmap, the firebug writes: "b is null". It seems that the fact
of removing or hiding the id works but then it's impossible to show or
recreate the map and all these elements.
So, what can I do to integrate all the elements which are in the map?
Pascal.

2012/12/5 OpenGSC <[email protected]>

> 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
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to