pisum
October 12, 2021, 11:51pm
3
welcome to the forum.
nyrareplants:
I have to zoom in again
i think this is normal behavior, and the page is working as designed.
based on your description, i’m not entirely sure if we’re thinking about the same thing, but it sounds to me a lot like something that was noted previously (but which i don’t think ever made it into a bug report):
ok. there are cases where if you just refresh the Explore page, say, 10 times, 1 or 2 out the 10 times, the map will fail to zoom into the extent of the observations, and the markers will fail to display.
it sort of looks like a timing thing to me. if the page is loaded before it makes the API request to GET /observations, it won’t have the boundaries for the extent of the observations – so it won’t know how far to zoom in, and i assume that if it doesn’t perform the zoom step, then it also fails to look for the markers. (note in the screenshot below, the highlighted request begins after the red line.)
that said, if it is a timing thing, then probably it also requires general systemwide slowness to consistently trigger the issue. right now, if you can usually resolve the issue by refreshing the page once or twice.