From 9a53ed849517bf486a6362fd8bc521fc51e16d19 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Sun, 15 Dec 2024 16:49:56 +0800 Subject: [PATCH] js: maplibre protocol has option to throw on missing tile [#321] (#505) * js: maplibre protocol has option to throw on missing tile [#321] * js: update docs copy for errorOnMissingTile * js: 4.1.0 --- js/CHANGELOG.md | 4 ++++ js/examples/leaflet.html | 2 +- js/examples/maplibre.html | 2 +- js/examples/maplibre_headers.html | 2 +- js/examples/maplibre_raster_dem.html | 2 +- js/package-lock.json | 4 ++-- js/package.json | 2 +- js/src/adapters.ts | 10 +++++++++- 8 files changed, 20 insertions(+), 8 deletions(-) diff --git a/js/CHANGELOG.md b/js/CHANGELOG.md index 7f1f908..f2933cd 100644 --- a/js/CHANGELOG.md +++ b/js/CHANGELOG.md @@ -1,3 +1,7 @@ +4.1.0 +* MapLibre `Protocol` constructor takes `errorOnMissingTile` option. [#505] + - Use this only for parity with the overzooming behavior of ZXY tile APIs. + 4.0.1 * fix iife build via esbuild configuration for fflate browser dependency diff --git a/js/examples/leaflet.html b/js/examples/leaflet.html index bbdc8c1..ad0dad1 100644 --- a/js/examples/leaflet.html +++ b/js/examples/leaflet.html @@ -4,7 +4,7 @@ - +