#include #include #include #include namespace mbgl { const style::LayerTypeInfo* BackgroundLayerFactory::getTypeInfo() const noexcept { return style::BackgroundLayer::Impl::staticTypeInfo(); } std::unique_ptr BackgroundLayerFactory::createLayer(const std::string& id, const style::conversion::Convertible& value) noexcept { (void)value; return std::unique_ptr(new style::BackgroundLayer(id)); } std::unique_ptr BackgroundLayerFactory::createRenderLayer(Immutable impl) noexcept { assert(impl->getTypeInfo() == getTypeInfo()); return std::make_unique(staticImmutableCast(impl)); } } // namespace mbgl