Closed christophfriedrich closed 3 years ago
Initially I thought this is due to conflicting CSS, but maybe it's more because of missing CSS? The zoom controls don't look like they usually do and the attribution label looks a bit unstyled too.
For reference, this is what such an extent map looked like in an older version:
I can't reproduce this.
It may not be the missing CSS though as removing the CSS entirely, makes it look even worse (tiles randomly ordered, no buttons).
Does this happen with AND without the "updating" of the full collection metadata? May that be the issue?
For whatever reason both the Vue $refs and the document.getElementById calls to the map element were pointing to the preview div when updating the data from externally. The map HTML was then inserted into the preview div. This seems to be a race condition, an issue with Vue's reactivity or something similar. The only workaround we found is to replace the v-if for the preview element with v-show. Still a pretty obscure issue...
When the
Collection
component in the Hub is provided with the "full" information including previews, the preview image is displayed within the map area:When zooming in, the image gets more and more hidden:
until it's fully covered by the map and no longer visible at all: