I am observing that the Javascript settings (drupal_add_js settings scope) are added twice to the page that shows an OpenLayers views map.

However, openlayers_render_map seems to be called only once. I tried altering this function to "drupal_add_js($openlayers, 'setting', 'footer');" and the settings code appeared in both header and footer.

In order to help me with further debugging, could somebody who is using openlayers_views from the 6.1 branch just quickly post if they are experiencing the same problem?

Comments

digi24’s picture

Status: Active » Closed (fixed)

bug was not caused by openlayers