[Users] Openlayers 2.11 and Map tabs

Andreas Hocevar ahocevar at opengeo.org
Tue Nov 29 19:11:59 CET 2011


Try to call map.updateSize() when you hit a tab for the first time.

Andreas.

On Tue, Nov 29, 2011 at 5:36 PM, Dan Ramage <dan at inlet.geol.sc.edu> wrote:
> I’ve been experimenting with OL2.11 and noticed that on my maps with tabs,
> when I open a different tab nothing happens in the map area. If I zoom, then
> the map fills in(baselayers, WMS layers). Some bits of the map are present
> initially such as the Permalink and the Google logo for the baselayer.
>
>
>
> Seems like there might be an init function not being triggered.
>
>
>
>
>
> Dan
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list