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