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.
So, I've finally gotten up and running with my OL map with popups. But now I have the issue that some of the popups go outside of the map window, forcing the user to scroll up to see the contents. Is there anyway to restrict the popup to the window?
Comments
Comment #2
ken-g CreditAttribution: ken-g as a volunteer and commentedChanges committed to 7.x-3.x-dev.
An "autopan" option has now been added to a Popup. When the map location is clicked to display the popup, ifthe popup is outside the boundary of the map, the map will "autopan" so that the popup becomes fully visible.
This option is configurable - default if "off".
Comment #3
ken-g CreditAttribution: ken-g as a volunteer and commentedComment #4
ken-g CreditAttribution: ken-g as a volunteer and commentedFixed in 7.x-3.2 release.