summaryrefslogtreecommitdiff
path: root/test/tile
diff options
context:
space:
mode:
Diffstat (limited to 'test/tile')
-rw-r--r--test/tile/vector_tile.test.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/tile/vector_tile.test.cpp b/test/tile/vector_tile.test.cpp
index 859fd417b0..aa39824787 100644
--- a/test/tile/vector_tile.test.cpp
+++ b/test/tile/vector_tile.test.cpp
@@ -86,3 +86,12 @@ TEST(VectorTile, Issue7615) {
EXPECT_EQ(symbolBucket.get(), tile.getBucket(symbolLayer));
}
+
+TEST(VectorTile, Issue8542) {
+ VectorTileTest test;
+ VectorTile tile(OverscaledTileID(0, 0, 0), "source", test.updateParameters, test.tileset);
+
+ // Query before data is set
+ std::vector<Feature> result;
+ tile.querySourceFeatures(result, { { {"layer"} }, {} });
+} \ No newline at end of file