From 7f4a3c1c23fa1b0f1ce50a020e4f80c03dfcb4f1 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Mon, 11 Mar 2024 16:31:26 +0800 Subject: [PATCH] Add queryTileFeaturesDebug method (#144) * Add queryTileFeaturesDebug method * Query features in tile at a given geographic position [#143] * add comments to recommend queryTileFeaturesDebug for only basic use cases [#143] * js 3.1.0 --- benchmark/index.html | 2 +- examples/comparison.html | 2 +- examples/fonts.html | 2 +- examples/inset.html | 2 +- examples/labels.html | 2 +- examples/leaflet.html | 9 ++- examples/multi_source.html | 2 +- examples/pmtiles.html | 2 +- examples/pmtiles_headers.html | 2 +- examples/sandwich.html | 2 +- examples/sprites.html | 2 +- examples/static.html | 2 +- package-lock.json | 4 +- package.json | 2 +- src/frontends/leaflet.ts | 21 +++++ src/tilecache.ts | 143 ++++++++++++++++++++++++++++++++++ src/view.ts | 12 +++ test/tilecache.test.ts | 140 +++++++++++++++++++++++++++++++++ 18 files changed, 338 insertions(+), 15 deletions(-) create mode 100644 test/tilecache.test.ts diff --git a/benchmark/index.html b/benchmark/index.html index b635381d..b717d981 100644 --- a/benchmark/index.html +++ b/benchmark/index.html @@ -6,7 +6,7 @@ - +