[OpenLayers-Users] Re: Initializing hidden map

digitalfox andreas at digitalfox.se
Fri Feb 24 05:56:44 EST 2012


I solved the problem by only initializing the map if:

- Initialize if visible on page load itself and all parents (easy to check
with jQuery)
- Initialize if becoming visible (tab changed) and not already initialized


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Initializing-hidden-map-tp4498145p4502091.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list