Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
zzolo CreditAttribution: zzolo commentedhttp://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.
Comment #2
phayes CreditAttribution: phayes commentedI 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.
Comment #3
phayes CreditAttribution: phayes commentedFixed: 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.