Errors when leaflet isn't attached (yet)

Created on 15 June 2018, about 6 years ago
Updated 14 June 2024, 13 days ago

Currently the javascript for leaflet_more_maps doesn't use a behavior/attach structure. As a result, when leaflet hasn't (yet) been attached more_maps is throwing errors because the expected leaflet isn't available.

One of the situations where this occurs is when you are trying to make your site GDPR compliant and the javascript for leaflet* is executed at a later time, which doesn't trigger the attachbehaviors automatically.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands paulvandenburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024