ReviewOS

stacks/ts-maps

Place details on the search card: hours, phone, website, share

#6251
Closed chris opened this 9 days ago ·
9 days ago

The search place card (SearchControl) shows name, kind, distance, address, coordinates and Directions. Apple's card also shows opening hours, phone, website, photos and ratings, plus Share and Save.

Scope

  • A place-details provider interface. The default would read OSM tags (opening_hours, phone, website, cuisine, wheelchair) via Nominatim details or Overpass, with the tile's OSM id where present.
  • An "Open now / Closes at 9 PM" line, parsed from opening_hours.
  • Buttons for Call, Website and Share (Web Share API, with copy-link fallback).
  • Keep the card fast: render immediately from what search knows, then fill in details when they arrive.
  • Bindings: expose details on select events.

Sign in to comment on this issue.