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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michielnugter’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, Settings are reset when loading openlayers via ajax.patch, failed testing.

m.stenta’s picture

Issue summary: View changes
Status: Needs work » Closed (works as designed)

A 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!