Closed wmcclin closed 2 months ago
I can't reproduce this. Can you show me exactly what layers are shown? Or try resetting layers.
Take a look at the image above. I believe the problem is with slow loading Esri map services coming from CDFW. If any of those services are turned on when the app loads, then the legend doesn't appear. Turn those all off, refresh, and the legend appears.
There was a debounce function preventing the legend from being updated until all the layers had settled. Now it will wait a maximum of 1 second before redrawing the legend.
In https://seasketch.org/california, the legend does not appear when layers are activated.