From 239f1078a73fb066b8f9ce6ba608780a7235dcae Mon Sep 17 00:00:00 2001 From: Miko Date: Sat, 21 Dec 2024 21:50:19 +0100 Subject: [PATCH] add encoding param to pmtile section --- src/serve_data.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/serve_data.js b/src/serve_data.js index 9125454..19de813 100644 --- a/src/serve_data.js +++ b/src/serve_data.js @@ -407,6 +407,7 @@ export const serve_data = { sourceType = 'pmtiles'; const metadata = await getPMtilesInfo(source); + tileJSON['encoding'] = params['encoding']; tileJSON['name'] = id; tileJSON['format'] = 'pbf'; Object.assign(tileJSON, metadata);