To reproduce, make a view to show data, choose the openlayers view style, in the settings select enable full screen. do not choose zoom to data, test the view all is well, it goes full screen and back no problem, now enable zoom to data and the full screen widget disappears.

Comments

zzolo’s picture

Title: When you enable "Zoom to data" in you view settings it seems to disable the "Full screen option" » Zoom to Features is only for single layer

http://drupal.org/cvs?commit=254098

Part of the problem is that behaviors get rendered even if they do not validate through their PHP callback. I have updated the rendering of behaviors to work correctly.

Now, the problem is, specifically with this is that Zoom to Features is used for a specific layer. But in Views, if you group things, then there are many layers. So, changing the titles.

phayes’s picture

Assigned: Unassigned » phayes

I could update the behavior so that if an array of layers is passed, then it zooms to all of them. Assigning this to me. If someone else wants to jump in and do this feel free.

phayes’s picture

Status: Active » Fixed

Fixed: http://drupal.org/cvs?commit=259172

zoom_to_feature layer property can now take an array of layers in addition to a single string. This has been implemented in views groupings.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.