Skip to content

feat: 配信されているpbfを表示するデモページを作成#8

Open
oageo wants to merge 1 commit intomasterfrom
feat/pbf-demo
Open

feat: 配信されているpbfを表示するデモページを作成#8
oageo wants to merge 1 commit intomasterfrom
feat/pbf-demo

Conversation

@oageo
Copy link
Copy Markdown
Contributor

@oageo oageo commented Dec 23, 2025

@eniehack さんが作成してくださったもの

@oageo oageo added the enhancement New feature or request label Dec 23, 2025
@oageo
Copy link
Copy Markdown
Contributor Author

oageo commented Dec 23, 2025

CF Pagesがエラーを返すの何なんだ…

@eniehack
Copy link
Copy Markdown
Member

eniehack commented Dec 24, 2025

console.errorで以下のように出る:

Object { message: "Unable to parse the tile at https://ivm.tsukuba.dev/tiles/12/3642/1607.pbf, please make sure the data is not gzipped and that you have configured the relevant header in the server", stack: "" }

調べた感じgzip圧縮されたままっぽいので、逆にcf上で圧縮をオンにしてheaderを付与するのがよさそう?

Status Codeが200 OKとなっているにも関わらず、地図が表示されません。
以下のメッセージがでています。
"Unable to parse the tile at https://k96mz.xyz/gzipVT/0/0/0.pbf, please make sure the data is not gzipped and that you have configured the relevant header in the server"
ベクトルタイル (.pbf) が gzip 圧縮されているのに、HTTP レスポンスに Content-Encoding: gzip ヘッダーが設定されていないことが原因のエラーです。

https://qiita.com/k96mz/items/5c01408da7db5eccd897#gzip%E5%9C%A7%E7%B8%AE%E3%81%82%E3%82%8A:~:text=Status,%E3%81%99

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Dec 24, 2025

Deploying itf-vectormapdata with  Cloudflare Pages  Cloudflare Pages

Latest commit: d697cf8
Status: ✅  Deploy successful!
Preview URL: https://bb319696.itf-vectormapdata.pages.dev
Branch Preview URL: https://feat-pbf-demo.itf-vectormapdata.pages.dev

View logs

@eniehack
Copy link
Copy Markdown
Member

buildはできてそうだけど、not found返されるなあ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants