- 🇳🇴Norway steinmb
Thanks. Not sure there is a an active D7 maintainer for this though.
When loading a Leaflet map with Leaflet Marker Clusters in a view that uses Ajax, the error;
Uncaught Error: Map container is already initialized.
Will happen on the second search. First search will work, second will not.
Solution was entirely stolen from this comment; https://www.drupal.org/project/leaflet/issues/2808957#comment-12490809 →
Because Marker Cluster overrides the `Drupal.behaviors.leaflet`, we also have to apply that fix here. On applying that fix, I can successfully run searches one after another.
Patch in next comment
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thanks. Not sure there is a an active D7 maintainer for this though.