Skip to content

Evaluate OpenTUI map rendering and vector tile output - #225

Open
trevorgerhardt wants to merge 2 commits into
mainfrom
evaluate-opentui-map-rendering
Open

Evaluate OpenTUI map rendering and vector tile output#225
trevorgerhardt wants to merge 2 commits into
mainfrom
evaluate-opentui-map-rendering

Conversation

@trevorgerhardt

Copy link
Copy Markdown
Member

Summary

  • Add OpenTUI map and vector rendering support to the CLI.
  • Refine tile workers, pixel handling, vector output, and viewer animation behavior.
  • Update executable dependency preparation, build scripts, documentation, and release metadata.
  • Add coverage for map pixels, vector tiles, vector output, and viewer behavior.

Testing

  • Not run (not requested).

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
osmix Skipped Skipped Aug 14, 2026 3:23am
osmix-merge Skipped Skipped Aug 14, 2026 3:23am

Request Review

@changeset-bot

changeset-bot Bot commented Aug 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: aa57ba5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@osmix/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4f15b521d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/cli/src/tile-worker.ts Outdated
const osm = this.get(id);
const renderIndex = this.getSemanticRenderIndex(id);
const nodeIndex = tile[2] >= 14 ? this.getSemanticNodeIndex(id) : undefined;
const packet = buildVectorTile(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Yield while building cooperative vector tiles

On runtimes without SharedArrayBuffer, this supposedly cooperative path calls the fully synchronous buildVectorTile and does not yield until the entire tile is complete. Because cancelTilesBefore runs on the same worker event loop, pans and zooms cannot update tileGenerationGate during a complex tile build, so stale work blocks the sole fallback worker—and therefore newer tiles and label queries—until completion. Split vector construction into cooperative chunks or provide an async yielding implementation like drawStyledMapTileAsync.

Useful? React with 👍 / 👎.

@vercel
vercel Bot temporarily deployed to Preview – osmix August 14, 2026 03:23 Inactive
@vercel
vercel Bot temporarily deployed to Preview – osmix-merge August 14, 2026 03:23 Inactive
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.

1 participant