#include #include #include namespace mbgl { using namespace style; AnnotationSource::AnnotationSource() : Source(makeMutable()) { } AnnotationSource::Impl::Impl() : Source::Impl(SourceType::Annotations, AnnotationManager::SourceID) { } void AnnotationSource::loadDescription(FileSource&) { loaded = true; } optional AnnotationSource::Impl::getAttribution() const { return {}; } bool AnnotationSource::supportsLayerType(const mbgl::style::LayerTypeInfo* info) const { return !std::strcmp(info->type, "line") || !std::strcmp(info->type, "symbol") || !std::strcmp(info->type, "fill"); } } // namespace mbgl