Skip to content

Move the time slider to a Nominatim search result's date - #437

Merged
Rub21 merged 4 commits into
stagingfrom
nominatim-dates
Jul 17, 2026
Merged

Move the time slider to a Nominatim search result's date#437
Rub21 merged 4 commits into
stagingfrom
nominatim-dates

Conversation

@Rub21

@Rub21 Rub21 commented Jul 10, 2026

Copy link
Copy Markdown
Member

Search results now move the time slider to the feature's period, not just the place.

  • Nominatim results include start_date/end_date.
  • Clicking a result jumps the slider to start_date (or end_date) when the feature isn't visible at the current time; otherwise it stays put.
  • Shared date helpers in one OSM.Date util (no more duplicated compareDates).
  • Fixed partial end_date: a feature ending in 1700 now lasts all of 1700.

Ref: OpenHistoricalMap/issues#196

@Rub21

Rub21 commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

This changes in the website has been deployed in https://web-nominatim-dates.ohmstaging.org/

Comment thread app/assets/javascripts/index/search.js Outdated
@Rub21
Rub21 merged commit 8239af4 into staging Jul 17, 2026
4 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants