From 6428f55e0f7a61f8cbcbea58585dbf7b40fa4805 Mon Sep 17 00:00:00 2001 From: Martin d'Allens Date: Mon, 20 Nov 2023 21:27:52 +0100 Subject: [PATCH] chore: cleanup the gallery code Signed-off-by: Martin d'Allens --- public/resources/gallery/gallery.html | 70 +++++++++++++++------------ 1 file changed, 38 insertions(+), 32 deletions(-) diff --git a/public/resources/gallery/gallery.html b/public/resources/gallery/gallery.html index a705c37..05ac21c 100644 --- a/public/resources/gallery/gallery.html +++ b/public/resources/gallery/gallery.html @@ -16,43 +16,24 @@ img, canvas {

Tileserver-gl tests

-
A fast way to visually check for regressions
+
A fast way to visually check for regressions. Each row shows: a test picture, the expected output, then the difference with pixelmatch.
Put zurich_switzerland.mbtiles in public/resources/gallery/ then run with:
docker build . && docker run --rm -it -p 8080:8080 $(docker build -q .) -V --config /usr/src/app/public/resources/gallery/config.json
-

interactive-vector

+

Interactive vector

-

interactive-raster

+

Interactive raster

+

Loading...

+