Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.
Platform (Android, iOS, Website): Website
Browser, if a website issue (Firefox, Chrome, etc) : Firefox
URLs (aka web addresses) of any relevant observations or pages: any observation page in edit mode https://inaturalist.ca/observations/{observation number}/edit
Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):
When I make edits in an observation (e.g., changes in the Notes) and save those changes, the map zooms out to show the whole North American continent (all my observations are from Alberta, Canada):
I am wondering why the zoom level of the map changes even when my edits have nothing to do with the map or the location. I would like to keep the zoom level at the default setting and donât want it to change automatically when I make other edits to the observation.
This problem suddenly started sometime last fall. Before that, I was able to edit my observations and the zoom level of maps remained unchanged. I have a workaround to get the zoom level back to the default but it is a time-consuming extra step that is annoying. Since I do a lot of editing this has become quite tedious. I hope it can be fixed.
FWIW, I remember noticing that this issue had happened when I edited the location itself in this observation.
EDIT: Wild guess, anything to do with map_scale being set to 1 for that observation vs. null for others Iâm spot checking (which donât manifest the issue)?
on the web observation edit page, if you change the map zoom at all, any save of the observation will save the zoom level of the map view, which can then be retrieved in the observation details via a map_scale field.
for inaturalist.org users, unless youâre changing the map view, youâre not going to save a zoom level value when you save.
but for users of the localized versions of iNat, your map will automatically zoom into your local iNat country, and so thatâs why you generally end up with a country-level zoom level when you edit an observation in the web observation edit page, even if you didnât change the map zoom level yourself.
so if youâre editing in one of the local versions of iNat vs the global one, the workaround to get a âdefaultâ zoom level is just to zoom all the way out as far as you can. this sets the zoom level to 0, which seems to get treated as equivalent to null.
@pisum You found the root of the issue. Sometime last year, I switched my account from inaturalist.org to inaturalist.ca. I just tested this out and the problem only happens when I make edits in inaturalist.ca. If I make them on inaturalist.org the zoom level remains unchanged. I actually donât have to make ANY edits on the .ca domain. Just opening the edit observation page and then saving (without making changes) will change the zoom level.
Not sure why the local versions of iNaturalist need this. Is there any benefit to it? Could it be changed so it works like iNaturalist.org? If not, I think I will be going back to iNaturalist.org because this issue has been so tedious. I am using exactly the workaround you suggested but I have gotten tired of it. I frequently make changes to the observation notes after I upload them (rarely ever do any edits on the maps or the location). It would be nice if I could continue to support the Canadian branch of iNat but this issue is wearing me out.
For curiosityâs sake: I have a couple of observations in Africa. When I edit them on inaturalist.ca, the zoom level changes similarly but the map shows the African continent (as it should). So the map does not centre on Canada in the .ca domain. It simply goes to the continent level. Not sure why localized versions of iNat need to behave differently than inaturalist.org.
What I just wrote applies to maps on the observation pages. The edit observation pages are a different story. In the .ca domain, the maps show me North America, which means the location is outside the map area when I edit my African observations. In the .org domain, the maps correctly centre on the observation locality (e.g., Africa when I edit an African observation).
I guess this could definitely use some tweaking. People travel a lot, so the maps on the edit observation pages should centre on the observation locality, not on the country where people live.
@pisum nailed it, I randomly use either the .org or .nz portal depending on what machine Iâm on, or what links I follow - that explains why I sometimes think it is fixed. When I encounter it I normally just zoom in to the level I want, but the map doesnât centre on the observation - the cure for that is to edit the lat or lon with a null edit (eg add a trailing â0â digit), it then zooms in correctly.