The first registry resolves brands, not individual stores. Physical locations remain in the offline POI index. Search results and POI cards share one resolved business ID, so an icon and an Android action refer to the same identity.
| Brand | Identity | Bundled logo | Android mapping |
|---|---|---|---|
| Panera Bread | NSI / Q7130852 | Yes | com.panera.bread |
| McDonald's | NSI / Q38076 | Yes | com.mcdonalds.app |
| Burger King | NSI / Q177054 | Yes | com.emn8.mobilem8.nativeapp.bk |
| Starbucks | NSI / Q37158 | Yes | com.starbucks.mobilecard |
Package mappings are the existing curated ORC integrations, not packages inferred from a brand name. McDonald's, Burger King's, and Starbucks' mappings are US apps; store availability and eligibility vary by region/device. Opening an app does not select the physical store. Store-specific deep links need separate verification before being added.
Panera now uses its bundled wordmark on search markers and in the place card. Unknown businesses and missing/corrupt assets also retain category markers. There is no runtime favicon crawler or third-party favicon service in this first version. That can be added separately after the bundled path is validated.
All registry files are under controllers/poi/catalog/:
The NSI subset includes its BSD-3-Clause license. The initial SVG sources come from a pinned Simple Icons commit with its CC0 license; trademark rights and brand usage guidelines still apply. The normalized PNG hashes are separate from the source SVG hashes. Panera's wordmark comes from the pinned hlxsites/panera site repository; its Apache-2.0 source license is bundled as icons/PANERA-SOURCE-LICENSE.txt. Panera trademark rights still apply. The source SVG is normalized onto the same white circular badge as the other brands. A new icon needs a reviewed source and rights metadata.
Matching prefers brand Wikidata IDs, then exact official website domains (including subdomains), then exact normalized brand/operator/name aliases. Explicit category mismatches are rejected; ambiguous matches return no business. An uncategorized map POI (OTHER) can still resolve through an exact known identity; missing classification alone must not remove ORDER. All four currently tracked restaurant brands have explicit ordering integrations; adding a logo for a new business still does not automatically add ordering. The resolver does not do substring/fuzzy matching or derive package names. NSI's full geographic rules are retained as provenance but are not interpreted by this initial four-brand resolver. Additional regional identities must remain unresolved when ambiguous until geographic matching is implemented.
SQLite POI results already carry brand Wikidata, operator and website when those columns exist. Older databases still work through exact brand/name matching. The resolver runs before search markers are presented, not only when a card is opened. Search logos replace the category circle/glyph at the same zoom levels as search badges (zoom 7 and above). Logos are not suppressed by label placement. Only a successfully loaded native image hides the circle/glyph; an unknown or failed image keeps the category fallback. Ordinary base-map POIs are not globally replaced, and clearing a search clears its logo markers. Renderer restarts replay the current search results and their icon payloads. This rendering integration currently targets the native MapLibre map.
Brand badges scale from about 29 pixels at wide zoom to 40 pixels at street zoom; labels and hover text move below the larger badge. POI cards hide the native window title bar and use an accent border with a theme-colored gradient header. They show the same approved business icon beside the name, and put Close at the bottom (Escape also closes the card). Under NAVIGATE WITH, ORC Map starts ORC routing and Waze hands the destination to native Waze. Earth/3D Map are grouped separately under EXPLORE. Unknown/unapproved business icons are omitted from the card rather than fetched from an arbitrary site. Waze uses its own bundled brand mark, and ORDER has a shopping-bag icon in its primary action button. Close includes an icon beside its label. The header omits redundant section labels and uses reviewed brand title colors and preferred local font families from overrides.json. Proprietary fonts are not bundled; when they are unavailable, the title uses the listed system fallback. A contrasting backing keeps brand-colored titles readable in both themes.
Ordering cards check app availability in the background each time they open or regain focus. A compact icon centered below ORDER replaces the status text: an app badge with a green check means installed, a Play triangle with a download badge means not installed, a globe means website-only ordering, and a Play icon with a question badge means unavailable status. Hovering the indicator explains these states. The Play/download and Play/question indicators are clickable when online and no launch is pending. They use the existing app/store handoff: open the app if it is available, otherwise its official Play listing. An inconclusive check must not remove the user's app/store shortcut. Google Play controls installation and user confirmation. This does not silently install or download APKs. Reopen the POI after installing to refresh its status. Store presence, device eligibility, region, and account requirements can still prevent installation; a known package is not a guarantee of availability. A failed or ambiguous Android connection is never described as an uninstalled app. On Termux, a positive local PackageManager lookup can confirm installation without ADB; a filtered/failed local lookup falls back to ADB, and remains unknown if that cannot verify it. Embedding still needs ADB. The check does not launch apps or disable ORDER. Results are scoped to the current popup; closed/replaced cards ignore late responses. Attribution is recorded in the frontend assets directory. Places-list results and map-marker selections receive the same Earth and local 3D exploration actions before reaching the card, including independent businesses that have no brand/app registry entry. These actions are added without replacing ordering/website actions or the business icon.
For known ordering businesses, the POI card shows one ORDER action. It opens the installed Android app when available, otherwise the configured ordering website. Burger King uses the official US app package and https://www.bk.com/menu as its web fallback; app/store launch and ordering still need device validation. It does not also show OPEN / INSTALL APP and WEBSITE as competing ways to order. A business without an ordering integration still gets its website action when one is known. Opening an app is not a verified store-specific handoff.
The separate app/store capability remains available to integrations without an ordering capability; it is not displayed alongside ORDER. Its two outcomes are:
Waydroid must have a functioning Play Store, Internet access and any required account/device eligibility. Without the Play Store, ORC reports that requirement; it does not send the user to a Linux browser as though it were the Android store. On Termux, installed curated business apps can now open inside ORC through scrcpy's native Android virtual display. This reuses the existing Waze display hosting but owns a separate player/window; it does not repurpose or stop the retained Waze route. The business app opens full-width with Back to map available. Leaving its view closes only that viewer, not Waze or unrelated Android apps.
This needs the same working ADB connection and scrcpy virtual-display support as native Waze. It checks the selected device for the curated package before presenting the view, and starts the app on the new display rather than first moving it onto the phone's primary display. If ADB/app availability cannot be confirmed, the existing Android Bridge handoff remains the fallback. Explicit store actions also retain their official HTTPS Play listing fallback there. Apps that reject secondary displays or use protected surfaces need device-level validation; the bridge fallback does not guarantee an app will embed.
Waydroid is the Linux-host integration, not a supported runtime inside ordinary Termux. The phone already runs Android, so this path uses its native applications directly and does not install a second Android OS.
This action does not download APKs, accept terms, create accounts or install silently. Production provisioning of a selected app set is a separate concern; Play licensing, CPU compatibility and region restrictions still apply. The ORDER action retains its app-first/web-fallback behavior.
To regenerate after editing the reviewed overrides, omit --check. No network is used. Validation also checks app IDs/listing URLs and icon asset hashes.
To refresh the existing subset, select and review a full upstream commit SHA:
The refresh downloads only the configured NSI category files and requires each selected NSI ID and Wikidata identity to remain intact. An upstream identity change stops generation for review; failed downloads do not replace the previous snapshot or generated output. Icons and app mappings are never scraped or replaced by that operation. No timestamps are added merely to create diffs.
The Business registry GitHub Actions workflow validates relevant PRs offline. Its manual dispatch can take an explicit NSI revision and upload candidate JSON files for review. It has read-only repository permissions and never commits or publishes updates automatically. Scheduled update PRs and broader brand coverage are the next stage after device validation of this small initial catalog.
Focused Python checks:
For the Termux business surface and card lifecycle (the Tk checks need X11):
The native map renderer must be rebuilt with this commit to display logos. The updated binary logs Business POI logo replacement enabled at startup; this distinguishes it from a still-installed older renderer. On an already configured Termux build, close ORC and update only the renderer:
The normal navigation-stack build/install workflows pick up the new headers; there are no new runtime library dependencies. The C++ component check is apps/map_renderer/component_test/poi_brand_cli.cpp; it takes a search GeoJSON fixture with the three approved image payloads, then the map-style path.
On the VM, search food near a covered business. At street zoom, check the logo, click it and confirm its card still identifies the correct store. Clear/repeat the search and leave/reopen navigation. For an ordering brand, confirm the card shows ORDER alone, opens the installed Android app, and falls back to the ordering website when the app is absent. Validate explicit app/store integrations separately when adding a brand without an ordering capability. On Termux, also test ORDER with ADB connected and a curated app installed: it should open inside ORC with its own window identity, leaving any Waze route running. Use Back to map, then resume Waze. Repeat with no ADB connection to confirm the normal Android handoff remains available. App-view diagnostics are in $TMPDIR/orc-scrcpy-app.log, separate from Waze's viewer log. Actual app installation/store behavior and GPU rendering require device tests; Python and C++ component tests cannot establish those results.