#pragma once #include #include namespace mbgl { class RenderAnnotationSource final : public RenderTileSource { public: explicit RenderAnnotationSource(Immutable); void update(Immutable, const std::vector>&, bool needsRendering, bool needsRelayout, const TileParameters&) final; std::unordered_map> queryRenderedFeatures(const ScreenLineString& geometry, const TransformState& transformState, const std::unordered_map& layers, const RenderedQueryOptions& options, const mat4& projMatrix) const final; std::vector querySourceFeatures(const SourceQueryOptions&) const final; private: const AnnotationSource::Impl& impl() const; }; } // namespace mbgl