When I’m viewing the observed taxa list of one project or user, sometimes when I click to go to the observations of a specific taxon, it takes me to the map, but then the entire map turns orange and nothing responds. When I click the reload button, an error message appears saying that the website crashed. This only happens some of the time, but enough that it’s a problem.
You will probably need to give more of the info requested in the Bug Report template to have this addressed. This would include the browser and version, a link to an example page, a screenshot, etc.
Interestingly this only happens when there is only one observation to show. Maybe it’s because the map automatically zooms in, and when there is only observation to show (and the location accuracy is good) the map zooms in too much and crashes?
Reloading it doesn’t help. I have to open a new tab and search again without the ‘subview=map’ part in the URL.
i can’t reliably reproduce this error. the only way i can even get an error is if i refresh and then quickly refresh again exactly while the map is trying to zoom in. (the orange that fills the map view is the enlarged observation marker when the zoom occurs, and here’s the page i start from: https://www.inaturalist.org/observations?taxon_id=1621813&place_id=any&verifiable=any)
fundamentally, the map doesn’t need to show a world view and then do a fit bounds zoom after that. that’s just inefficient. it just needs to find the bounds, and then display the zoomed in view (without first showing the world view). beyond that, the map does a zoom offset because it gets oversized tiles, but the fit bounds mechanism doesn’t seem to account for that offset. in this case, it tries to zoom in all the way to zoom level 22 (since there’s just one observation), but i believe that with the zoom offset, the effective max zoom is really only 21.
it looks like you marked this thread as solved, but it doesn’t seem like it really is. you may want to remove that flag, or else the iNat staff may skip over it.
i’m not sure they are exactly the same thing, but i’m fairly confident that they share a common origin. it looks like the GitHub issue you wrote back in the day was closed because the iNat staff thought the effort needed to be classified as a feature request. but as far as i can see, there was never a replacement for the closed ticket, and one of the forum bug reports also got closed, though i don’t think anything was deployed that actually fixed the problems noted.
i don’t know what the iNat staff actually need to actually look into the problem at this point. do we need to reclass this thread as a feature request? do we need to log a separate thing altogether? at the end of the day, i think they just need to rework how the bounds fitting mechanism works to have it happen as the first thing that happens on the page.
@maxforager@mitvij can you please include specific URLs, and a detailed set of instructions for how you got to the error? We really need that level of detail to investigate a bug, that’s why we ask for it in the template for new bug reports. Thanks.