You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Certain Nominatim searches force the map to an unrenderable zoom (e.g. z=23) #188
Bug description What is happening?
Using the search function sometimes takes the user to a blank map, even with a valid search result.
What should be happening?
Ideally, the user will be taken to an appropriate location, zoom, and time, using start_date for non-natural features. For natural features, the time should not change from prior to the search.
The main issue - gray tiles - will be solved by this PR that we need to push to staging and then production: OpenHistoricalMap/ohm-website#26. This will cap our maxZoom to 20.
The other issue, of picking the right time for a search result, will take more effort. I think we don't want to always change to start_date. For example, if I am looking at London in 1852 and I click on a building built in 1607, I wouldn't expect the timeslider to go to 1607.
If object exists at current time, leave time unchanged.
If object does not exist at current time, any of start_date, end_date, start_date + end_date / 2 work for me, although the latter option has a certain appeal.
OK, the change to maxZoom set to 20 resolves the original purpose of this issue - no more gray tiles. The other question of linking to the correct time as well as place, that should be a separate ticket.
Activity
danrademacher commentedon Jan 25, 2021
The main issue - gray tiles - will be solved by this PR that we need to push to staging and then production: OpenHistoricalMap/ohm-website#26. This will cap our maxZoom to 20.
The other issue, of picking the right time for a search result, will take more effort. I think we don't want to always change to start_date. For example, if I am looking at London in 1852 and I click on a building built in 1607, I wouldn't expect the timeslider to go to 1607.
jeffreyameyer commentedon Jan 25, 2021
Absolutely.
If object exists at current time, leave time unchanged.
If object does not exist at current time, any of start_date, end_date, start_date + end_date / 2 work for me, although the latter option has a certain appeal.
danrademacher commentedon Feb 2, 2021
OK, the change to
maxZoomset to 20 resolves the original purpose of this issue - no more gray tiles. The other question of linking to the correct time as well as place, that should be a separate ticket.