Add query annotation timeout (#3874)

This commit is contained in:
Adrian Cojocaru
2025-10-13 23:57:13 +03:00
committed by GitHub
parent 8f50a54927
commit 00ad11eb04
4 changed files with 22 additions and 8 deletions

View File

@@ -52,8 +52,8 @@ public:
std::vector<Feature> queryRenderedFeatures(const ScreenCoordinate&, const RenderedQueryOptions&) const;
std::vector<Feature> queryRenderedFeatures(const ScreenBox&, const RenderedQueryOptions&) const;
std::vector<Feature> querySourceFeatures(const std::string& sourceID, const SourceQueryOptions&) const;
AnnotationIDs queryPointAnnotations(const ScreenBox& box) const;
AnnotationIDs queryShapeAnnotations(const ScreenBox& box) const;
AnnotationIDs queryPointAnnotations(const ScreenBox& box, const std::chrono::milliseconds& timeout) const;
AnnotationIDs queryShapeAnnotations(const ScreenBox& box, const std::chrono::milliseconds& timeout) const;
// Feature extension query
FeatureExtensionValue queryFeatureExtensions(const std::string& sourceID,