Notes

Engineering

  1. · 8 min read

    MapLibre draws a blank map in Next.js, and the worker URL is why

    A bundler rewrites import.meta.url to a file:// path, MapLibre's worker URL resolves to an empty string, and new Worker('') loads your own HTML. Here is the fix.

  2. · 4 min read

    We drew the map ourselves

    A stock map SDK would have made Letterway look like every other app. So the small maps are drawn from Natural Earth data, and the big ones are OpenStreetMap.