Maps4HTML / Web-Map-Custom-Element

A custom <mapml-viewer> and <layer-> element suite
https://maps4html.org/Web-Map-Custom-Element/
Other
54 stars 15 forks source link

Map link custom element implementation #916

Closed prushforth closed 4 months ago

prushforth commented 8 months ago

Closes #915

image

Known Issues

Tests Required:

Documentation Required

Future Work

prushforth commented 6 months ago

We should try to fix this bug in this branch

prushforth commented 6 months ago

Just going to post a couple of notes so that they don't get overlooked.

prushforth commented 6 months ago

Discovered while re-ordering multiple extents within a layer (via drag and drop):

map-link.js:307 Uncaught (in promise) DOMException: Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree. at MapLink._createTemplatedLink (http://.../geoserver/mapml/viewer/widget/map-link.js:3:3619)

image