okay, I'm pretty sure this is a real bug ;)

Fullscreen works when using Google Hybrid map, but not MS Virtual Earth (Bing) hybrid map -- in the latter case, pressing the fullscreen button moves the map to the top of the page, but it stays the same size. Features get moved to the center of the page, no longer positioned on the map, also staying the same size. The zoom button goes to the proper location in the to right of the page, all lonely.

I turned off my own map_alter code to make sure it wasn't interfering.

I wish I had a better handle on javascript to work on this myself...

Shiraz

Comments

spydmobile’s picture

Confirmed: Ya shiraz, I get the same issue with other non Google layers like the default WMS layer. In my case I am adding the fullscreen behavior to a map preset in my module, so it is not a VEWS generate map, this map, used to display the current location of a point will behave the way you describe when my map is constructed of the sample code provide by OL team here: http://zzolo.org/thoughts/drupal-and-openlayers

I simple added the fullscreen beaviour to it and it acted the way you describe. When I built my own map array using a Ghybrid instead, it worked as expected
Franco/Spydmobile

phayes’s picture

Status: Active » Closed (won't fix)

This is a problem with openlayers.js and is fixed in their dev.

Change your OpenLayers Source to: http://openlayers.org/dev/OpenLayers.js

Note that this solution may (but shouldn't) break other portions of openlayers.