19 lines
556 B
C++
19 lines
556 B
C++
#pragma once
|
|
|
|
#include <mbgl/layermanager/layer_factory.hpp>
|
|
#include <mbgl/style/layer.hpp>
|
|
|
|
#include <array>
|
|
|
|
namespace mbgl {
|
|
|
|
class CustomLayerFactory : public LayerFactory {
|
|
protected:
|
|
const style::LayerTypeInfo* getTypeInfo() const noexcept final;
|
|
std::unique_ptr<style::Layer> createLayer(const std::string& id,
|
|
const style::conversion::Convertible& value) noexcept final;
|
|
std::unique_ptr<RenderLayer> createRenderLayer(Immutable<style::Layer::Impl>) noexcept final;
|
|
};
|
|
|
|
} // namespace mbgl
|