metacatui icon indicating copy to clipboard operation
metacatui copied to clipboard

Dataset count tiles layer disappears when layer categories are configured

Open iannesbitt opened this issue 1 year ago • 4 comments

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:

  1. Go to 'smithsonian.dataone.org search page'
  2. Move map so that none of Panama is in map view
  3. See Barro Colorado Island dataset disappear, indicating that location search still works
  4. 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 image

All platforms, browsers, and devices

iannesbitt avatar May 10 '24 18:05 iannesbitt

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?

robyngit avatar May 13 '24 13:05 robyngit

Good question...I think it would go in Base Layers but I'm open to other suggestions.

iannesbitt avatar May 13 '24 19:05 iannesbitt

High priority for hosted repos in general

robyngit avatar Jun 25 '24 14:06 robyngit

Removing the high priority status since it's still possible to configure this layer manually

robyngit avatar Sep 09 '24 14:09 robyngit