Brandon Liu

Results 553 comments of Brandon Liu

The scope of the docs here implicitly concern the code at https://github.com/protomaps - since the MapLibre code lives a totally separate repository and organization (and native doesn't need a plugin,...

This is what the output of pmtiles 1.23.1 looks like for me: ``` pmtiles version pmtiles 1.23.1, commit cb7d438ef3ce0c58066286727c5e8844f46628dc, built at 2025-01-06T06:31:36Z ``` Can you type `which pmtiles`? Is it...

This line in the Homebrew formula: https://github.com/Homebrew/homebrew-core/blob/be72125f81db1b4daab71bb824ddf28c8c91811c/Formula/p/pmtiles.rb#L25 needs to pass this additional ldflag to populate the version information: ``` go build -ldflags="-X 'main.version=1.23.1'" main.go ```

If you are using `pmtiles serve` to decode on the server you don't need to use `new pmtiles.PMTiles` at all, which is for client-side decoding. Access your tiles via `/{z}/{x}/{y}`...

``` mapStyle={{ version: 8, sources: { sample: { type: "vector", url: "pmtiles://http://localhost:8080/myaustria.pmtiles" } }, ``` Again, you do not need `pmtiles://` for client-side decoding if you are using `pmtiles serve`...

@GridGrapher thanks for posting the example, I updated the JS code here with a comment: https://github.com/protomaps/PMTiles/pull/417/files If you are using `go-pmtiles` you don't need to pay attention to any of...

the viewer right now is specific to pmtiles files, the worker turns it into a plain z/x/y URL which does not require any specialized pmtiles-related code. What functionality were you...

Yeah, that should just be a matter of letting the MapLibre-based viewer take plain ZXY urls. I need to split out the "tile inspector" functionality - afterwards I'll add that.

Will do in the rework of https://pmtiles.io - consolidating on issue https://github.com/protomaps/PMTiles/issues/49#issuecomment-2601740890

FYI https://maps.protomaps.com now supports TileJSON e.g. `https://aaa.cloudfront.net/example.json` provided that your tileset being served is designed to be used with the Protomaps basemaps styles and has the right CORS configuration. This...