Closed prushforth closed 4 months ago
We should try to fix this bug in this branch
Just going to post a couple of notes so that they don't get overlooked.
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)
Closes #915
map-link.extent
property structured perlayer-.extent
propertyM.getZoomBounds(extent)
andM.getBounds(extent)
functions~ future workmap-link.extent
is recalculated if changes occur to e.g. in-scopemap-meta
,map-input min/max
~ future workmap-link._templateVars
property duringtref
attributeChangedCallbackmap-link._templatedLayer
during connectedCallbackif block
in getBounds()Known Issues
Tests Required:
Documentation Required
Future Work