Problem/Motivation

If you enable the Leaflet Demo module, and visit the Leaflet Demo page at /admin/config/system/leaflet-more-maps/demo, you get this JavaScript error:

Uncaught DOMException: Document.querySelectorAll: '#esri-ocean/world_ocean_base' is not a valid selector

Also, the map under <label for="edit-esri-oceanworld-ocean-base" class="form-item__label">Esri Ocean (zoom 0..10)</label> is not shown.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

ressa created an issue. See original summary.

berramou’s picture

Thank you @ressa, for reporting this.
And yes there is a problem with the ERSI Ocean/World Ocean Base that code generate an html ID 'esri-ocean/world_ocean_base' which is not good.

  • berramou committed a2d902ac on 2.2.x
    Issue #3458286: Demo page error: Uncaught DOMException: Document....
ressa’s picture

You're welcome @berramou, thanks for a fast reply and update. I guess since you're not yet Maintainer on Gitlab, you can't make a branch and MR against 2.2-dev, since it doesn't exist yet ... as we discussed in #3449579-12: Add support for GDPR-friendly openstreetmap.de.

berramou’s picture

Yes still don't have maintainer access.

berramou’s picture

Status: Active » Fixed

Fixed in 2.2.2

berramou’s picture

Status: Fixed » Closed (fixed)
ressa’s picture

Nice, thanks @berramou and @itamair!