Wow, your solution is amazing!

Excellent workaround: in the meantime I've submitted a bug to Bootstrap developers:

https://github.com/twitter/bootstrap/issues/8256

Thank you so much!

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
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users




--
Alessandro Candini
MEEO S.r.l.
Via Saragat 9
I-44122 Ferrara, Italy
Tel: +39 0532 1861501
Fax: +39 0532 1861637
http://www.meeo.it

========================================
"ATTENZIONE:le informazioni contenute in questo messaggio sono
da considerarsi confidenziali ed il loro utilizzo è riservato unicamente
al destinatario sopra indicato. Chi dovesse ricevere questo messaggio
per errore è tenuto ad informare il mittente ed a rimuoverlo
definitivamente da ogni supporto elettronico o cartaceo."

"WARNING:This message contains confidential and/or proprietary
information which may be subject to privilege or immunity and which
is intended for use of its addressee only. Should you receive this
message in error, you are kindly requested to inform the sender and
to definitively remove it from any paper or electronic format."

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to