[OpenLayers-Users] OpenLayers maps inside bootstrap tabs

Alexandre Dubé adube at mapgears.com
Tue Jun 25 05:50:58 PDT 2013


Hi,

   You can correct this by calling the map updateSize method when 
changing tab.  I updated your example:

   http://jsfiddle.net/ZrazJ/19/

HTH,

Alexandre


On 13-06-24 04:46 AM, Alessandro Candini wrote:
> I've got the issue represented in this working example:
>
> http://jsfiddle.net/ZrazJ/14/
>
> The map on the second tab get shifted, but if you resize the browser 
> window, it moves to the correct centered position.
>
> And the first map that initially was centered, gets shifted.
>
> Any ideas on how to correct this behaviour?
>
> Thanks.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Users mailing list