Skip to content

Fix small regressions before publishing 0.12, add cache opt - #107

Merged
Shane98c merged 15 commits into
mainfrom
fix/0.12-regressions
Nov 6, 2026
Merged

Shane98c merged 15 commits into
mainfrom
fix/0.12-regressions

Conversation

@Shane98c

@Shane98c Shane98c commented Nov 6, 2026

Copy link
Copy Markdown
Member

Loading

  • Every chunk in view loads again. When the view would exceed the memory budget, chunks away from the center load from a coarser level; data with no coarser level loads in full.
  • On flat MapLibre maps, only the on-screen part of each tile loads.
  • New maxCacheMB option (default 512) sizes the layer's caches, for memory-constrained devices.

Failures

  • Network errors, timeouts, 429s and 5xx are retried with backoff, and the chunk keeps what it showed meanwhile. Other HTTP errors stay blank until the selector changes or the level reloads.

Rendering

  • Mapbox's padded edges draw again, including in rotated, pitched and antimeridian-crossing views.
  • No more holes near the antimeridian on MapLibre's globe.

Messages

  • Shader link failures report the layer's own uniform count next to the custom shader's.
  • renderPoles warns once on Mapbox older than 3.32.

Docs and demo

  • README trimmed to what users need.
  • MapLibre demo allows 85° pitch.

Typecheck and all 927 tests pass. Reviewed by Codex (gpt-6-astra) twice.

@vercel

vercel Bot commented Nov 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
zarr-layer Ready Ready Preview Nov 6, 2026 6:19pm UTC

Request Review

@Shane98c
Shane98c merged commit 67ad144 into main Nov 6, 2026
10 checks passed
@Shane98c
Shane98c deleted the fix/0.12-regressions branch November 6, 2026 18:19

This branch was successfully deployed

1 active deployment
Preview — 3dcee861 Deployed Nov 6, 2026 by vercel[bot]
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