#include #include #include #include #include #include #include #include namespace mbgl { optional LayerFactory::getSource(const style::conversion::Convertible& value) const noexcept { auto sourceValue = objectMember(value, "source"); if (!sourceValue) { return nullopt; } optional source = toString(*sourceValue); if (!source) { return nullopt; } return source; } std::unique_ptr LayerFactory::createBucket(const BucketParameters&, const std::vector>&) noexcept { assert(false); return nullptr; } std::unique_ptr LayerFactory::createLayout(const LayoutParameters&, std::unique_ptr, const std::vector>&) noexcept { assert(false); return nullptr; } } // namespace mbgl