FeatureFuel
0

Geomap: Bundle the lightweight map

Source: grafana/grafana#138420 · opened by @drew08t
Ship the lightweight bundled map inside Grafana and serve it from Grafana itself.
• Fetch the pinned map version at build time and verify its checksum (see #135766), placing the archive, styles and sprites under public/maps/.
• Serve it with byte-range support, which the PMTiles reader needs. Grafana serves public/ with http.ServeContent, which supports ranges. Confirm that still holds with enable_gzip on and with cdn_url set, since a compressed or CDN-rewritten response can break range reads.
• Point the Protomaps layer at the bundled map with same-origin URLs, so no CSP change is needed.
• Keep it out of the frontend JavaScript bundle; it's a static asset loaded only when a map needs it.

Out of scope: making it the default. That happens in Phase 4.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests