Furthermore, it looks like it breaks all the other javascript on the page.

Comments

spydmobile’s picture

FYI I have seen this issue before with mapping kit mostly with IE and may be related to openlayers it self.
Franco

phayes’s picture

I think it's a bug in openlayers. I've opened a ticket: http://trac.openlayers.org/ticket/2187

zzolo’s picture

IT might also be a good ideea to check out GMap. It has a specific option for this sort of thing. It may just need some logic to render things and then hide them.

zzolo’s picture

Status: Active » Postponed (maintainer needs more info)
tmcw’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

This bug can be worked around by giving the map a real width instead of auto.

There are some tickets upstream

http://trac.openlayers.org/ticket/2475

http://trac.openlayers.org/ticket/2461

This is basically 'upstream'.

zzolo’s picture

Could we not do a work around with jQuery that determines the width of the container and assigns it to the map? This could be a behavior as it is not usually needed and adds more processing. This is sort of how GMap does it.