Clodeflare: better support for variable tiles pyramid
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend
Direzione di ricerca
Start by reviewing the Cloudflare worker and the linked MapLibre PR #8335, then compare them with the reporter’s client-side tile-slicing code. The issue asks whether slicing variable-zoom vector tiles server-side belongs in the worker or the PMTiles library, and whether an environment variable should enable it; agree on that design and expected behavior before implementation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
At Mapeak.com we have a heatmap.
The heatmap was generated from OSM recording we upload (and uploaded from other sources as well).
We created a pmtiles with vector data that has variable zoom levels and host it on cloudflare.
Maplibre (both native and web) doesn't support this well (although I am working on improving support in web, but still).
I'm wondering if adding to the cloud worker some code to allow slicing the the tiles on the fly, server-side style can solve this better than a client side solution.
I wrote the code that slices a vector tile on the client, it's not a lot of code and not very complicated.
Let me know how you feel about incorporating it here, maybe using some env variable to enable it.
I guess it can be added to the pmtiles library itself and not the worker code, but then you'd have dependencies on pbf etc which I don't think it should have.
It does make the worker code a bit more "tile server"-ish but let's face it, it is a very small tile server right now...
Let me know what you think, or if you have a better idea how to solve this.
Relevant maplibre-gl-js PR:
- Lingua principale
- TypeScript
- Stelle
- 3.3k
- Fork
- 218
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di protomaps/PMTiles
-
Support for Leaflet 2xAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Viewer: archive URLs containing "=" are truncated when read from the hashForse già presa @nu11waredev l’ha presa 16 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Protocol: add `encoding: "mlt"` to the TileJSON for MLT archivesForse già presa @tordans l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 15/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Tutte le issue di protomaps/PMTiles
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
review-followup
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
griffinwork40/agent-afk#5387 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CodeManufactoryLLC/Code60#358 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
android:plan ios:plan main:plan packages:learn
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno