Brandon Liu

Results 553 comments of Brandon Liu

If you want to display English text in non-Latin areas such as China in the example above you need the multilingual / language switcher as documented here for MapLibre: https://docs.protomaps.com/basemaps/maplibre#using-the-npm-package

The `lang` option to leaflet layer now controls the label language in v5.0.0.

Thanks for tackling this feature. Overall I think we need to depend on necessary metadata existing in a `metadata.json` or equivalent, see this comment on how this was implemented in...

You need to do `npm install & npm run build` inside `PMTiles/js` first. A bit awkward right now.

I have updated the instructions/package.json so the `npm install` in js is no longer necessary: https://github.com/protomaps/docs/pull/94/files

> I'm especially interested in whether something like this belongs in the repository at all, and what kind of documentation / configuration would be appropriate for a feature of this...

Do you just want to pass in a `Context` to `Extract` instead of using `context.Background` ?

Thanks, agreed this would be useful and has a lot of overlap with https://github.com/protomaps/go-pmtiles/issues/117 so maybe we should move to `slog` soon which should encompass hiding progress. What specific subcommand...

@MarkusWendorf can you split this into the feature for `CACHE_CONTROL` PR and then the refactoring after that? That will let me merge the feature and update the docs, etc sooner....

This is added in 3.1.0: https://pmtiles.io/typedoc/classes/PMTiles.html#getTileJson