Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
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.
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.
Comments
Comment #1
spydmobile commentedFYI I have seen this issue before with mapping kit mostly with IE and may be related to openlayers it self.
Franco
Comment #2
phayes commentedI think it's a bug in openlayers. I've opened a ticket: http://trac.openlayers.org/ticket/2187
Comment #3
zzolo commentedIT 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.
Comment #4
zzolo commentedComment #5
tmcw commentedThis 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'.
Comment #6
zzolo commentedCould 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.