Closed prushforth closed 9 months ago
Tests Needed -
layer-
hidden attribute test.extension -
docs -
if (
this._layerEl.checked &&
!this._layerEl.hidden &&
this._mapmlLayerItem
) {
map-change
event for layer-
element.To Do when developing map-link
_getMinMaxZoom() {
let input = this.querySelector('map-input[name=zoom]') || this.querySelector("map-meta[name=zoom]") || this.parentLayer.shadowRoot? this.parentLayer.shadowRoot.querySelector("map-meta[name=zoom]") : this.parentLayer.querySelector("map-meta[name=zoom]");
if (input) {
//
} else {
// use projection fallback
}
}
Bugs that still exists
- Debug Mode - When you check and uncheck a layer in debug mode, the layer bounds don't show up when the layer is checked, but do when layer is unchecked. Behaves oppositely.
Bugs discovered on main
To Do Before closing PR
Small issue discovered: when you change a remote, hidden, checked map-extent from checked to not checked in the SD (remove the attribute), then remove the hidden attribute to unhide the extent in the layer control, the extent appears checked in the layer control, and changing the checkbox to unchecked now displays the extent. (discovered in geoserver testing).
Tests Needed -
layer-
hidden attribute test.extension - https://github.com/Maps4HTML/mapml-extension/pull/66
docs - https://github.com/Maps4HTML/web-map-doc/pull/135
To Do when developing map-link
Bugs that still exists
- Debug Mode - When you check and uncheck a layer in debug mode, the layer bounds don't show up when the layer is checked, but do when layer is unchecked. Behaves oppositely.Bugs discovered on main
896
897
To Do Before closing PR
Closes https://github.com/Maps4HTML/Web-Map-Custom-Element/issues/886