Custom maps configuration broken

Created on 11 February 2021, about 4 years ago
Updated 14 October 2023, over 1 year ago

Problem/Motivation

When trying to create a new custom map. for example

and after i save the configuration i get the message that The configuration options have been saved but the custom map not saved:

Steps to reproduce

  1. Install the module and enable it
  2. Go to admin/config/system/leaflet-more-maps create a new custom map and check some layers
  3. Save configuration
🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇫🇷France berramou

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.

  • 🇩🇰Denmark ressa Copenhagen

    Where can I use a custom map and is it documented somewhere?

  • 🇫🇷France berramou

    Hello @ressa, you can use custom maps in widget field, if you have for example field (field_geofield) of type geofield, if you have the Leaflet More Maps module installed, Go to manage display of your content / type or entity choose the Leaflet Map widget you will find your custom maps in the widget settings.

  • 🇩🇰Denmark ressa Copenhagen

    Thanks for a fast reply @berramou! This is really strange, but all of a sudden I see my custom map under "Leaflet Map Tiles Layer". I tried everything, but it didn't show up, until now for some reason ... very odd. I cleared caches and everything, but maybe restarting DDEV was the missing piece of the puzzle. Anyway, it now works, and that's what counts.

    It does seem like the custom maps switcher may conflict with the "Leaflet Demo page"? See #2819431-4: Switcher isn't shown .

Production build 0.71.5 2024