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

pascal evano pascal2833 at gmail.com
Fri Dec 7 00:24:56 PST 2012


Hi!

Yes, it's what happening in the firebug, if we remove or hide the div, it's
hiding/removing all. But i don't know how to apply hide/show about map's
layer only and that's my problem!
Pascal.

2012/12/7 OpenGSC <945070223 at qq.com>

> 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.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121207/e098ffc0/attachment.html>


More information about the Users mailing list