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.
When you load an openlayers map via ajax the settings are reset by the javascript file.
The attached patch solves this problem by checking if the variable is not set before initializing the variable.
Comment | File | Size | Author |
---|---|---|---|
Settings are reset when loading openlayers via ajax.patch | 442 bytes | michielnugter | |
Comments
Comment #1
michielnugter CreditAttribution: michielnugter commentedComment #3
m.stentaA lot of code has changed in Openlayers since this was posted. Can you please check to see if this is still an issue, and reopen if it is? Thanks!