Demo maps not showing because of JS error

Created on 31 May 2024, 11 months ago
Updated 28 June 2024, 10 months ago

Problem/Motivation

Demo maps not showing due to this JS error TypeError: Cannot read properties of undefined (reading 'indexOf')

Steps to reproduce

  1. Enable Leaflet Demo sub module
  2. Go to /admin/config/system/leaflet-more-maps/demo no map displayed

Proposed resolution

It's the same error in this issue 🐛 Uncaught TypeError Fixed the solution mentioned here https://www.drupal.org/project/leaflet/issues/3366240#comment-15133053 🐛 Uncaught TypeError Fixed works.
I will add a patch in case someone needs it before new release with this fix.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

🇫🇷France berramou

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

Comments & Activities

Production build 0.71.5 2024