Custom map not working after update to 2.2.x

Created on 12 September 2024, 2 months ago

Problem/Motivation

After updating from 2.1.x to 2.2.x and using a customized map (under "Custom map #1 layer selection"), no marker is shown and following JS errors are thrown:

Uncaught TypeError: layer is null
    initialise https://www.tourguide.sbm.einskommanull.com/modules/contrib/leaflet/js/leaflet.drupal.js?sjlzr2:221
    Leaflet https://www.tourguide.sbm.einskommanull.com/modules/contrib/leaflet/js/leaflet.drupal.js?sjlzr2:202
    loadMap https://www.tourguide.sbm.einskommanull.com/modules/contrib/leaflet/js/leaflet.drupal.js?sjlzr2:23
    attach https://www.tourguide.sbm.einskommanull.com/modules/contrib/leaflet/js/leaflet.drupal.js?sjlzr2:168
    jQuery 2
    attach https://www.tourguide.sbm.einskommanull.com/modules/contrib/leaflet/js/leaflet.drupal.js?sjlzr2:14
    each jQuery
    attach https://www.tourguide.sbm.einskommanull.com/modules/contrib/leaflet/js/leaflet.drupal.js?sjlzr2:8
    attachBehaviors https://www.tourguide.sbm.einskommanull.com/core/misc/drupal.js?v=10.3.3:166
    attachBehaviors https://www.tourguide.sbm.einskommanull.com/core/misc/drupal.js?v=10.3.3:162
    <anonymous> https://www.tourguide.sbm.einskommanull.com/core/misc/drupal.init.js?v=10.3.3:32
    listener https://www.tourguide.sbm.einskommanull.com/core/misc/drupal.init.js?v=10.3.3:20
leaflet.drupal.js:221:27
🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇩🇪Germany e5sego

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

Comments & Activities

Production build 0.71.5 2024