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
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


--
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to