Closed therter closed 5 years ago
I wasn't able to reproduce this problem at all...
Anyway, That's not a problem of the map component. If the loading animation does not go away, then Drupal.behaviors.mapComponentIFrameConnector
(see generic-map.html) is not called. This function replaces the initial static content of the iFrame (the loading animation) with the actual MapComponent. It calls initMapComponent
in csis_iframe_connector.js.
So I assume that the JavaScript in the Drupal Page is not executed properly. Probably just a caching issue. If you ever encounter this problem again, please check the logs in the JavaScript console.
Sometimes, the initialisation of the map-component does not work and the loading animation will be shown forever.
This problem is not easy to reproduce. But I can reproduced it relatively frequently in the data package view (e.g. https://csis.myclimateservice.eu/node/682) in my local instance. I have seen this also on the production site, but it is difficult to reproduce.