metacatui
metacatui copied to clipboard
Dataset count tiles layer disappears when layer categories are configured
Describe the bug Dataset count tiles appear in portals that have not configured layer categories (drp.dataone.org/data but not smithsonian.dataone.org/data). It appears that when layer categories are configured, the search map will not show the count tiles.
To Reproduce Steps to reproduce the behavior:
- Go to 'smithsonian.dataone.org search page'
- Move map so that none of Panama is in map view
- See Barro Colorado Island dataset disappear, indicating that location search still works
- No tiles are visible anywhere on the globe, tiles layer does not appear in layer panel
Expected behavior Dataset count tiles should still appear in search map.
Screenshots
All platforms, browsers, and devices
Thanks for the detailed report @iannesbitt! This does appear to be related to the new layer categories option. In the meantime, a workaround for this issue would be to configure the geohash layer (dataset counts) explicitly within the desired category.
A question to address when tackling this is: Within which category should the dataset counts appear by default? I suppose it would go in a new category of its own?
Good question...I think it would go in Base Layers but I'm open to other suggestions.
High priority for hosted repos in general
Removing the high priority status since it's still possible to configure this layer manually