MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
line_layer_factory.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace mbgl {
6 
7 class LineLayerFactory : public LayerFactory {
8 protected:
9  const style::LayerTypeInfo* getTypeInfo() const noexcept final;
10  std::unique_ptr<style::Layer> createLayer(const std::string& id, const style::conversion::Convertible& value) noexcept final;
11  std::unique_ptr<Layout> createLayout(const LayoutParameters& parameters,
12  std::unique_ptr<GeometryTileLayer> tileLayer,
13  const std::vector<Immutable<style::LayerProperties>>& group) noexcept final;
14  std::unique_ptr<RenderLayer> createRenderLayer(Immutable<style::Layer::Impl>) noexcept final;
15 };
16 
17 } // namespace mbgl
The LayerFactory abstract class.
const style::LayerTypeInfo * getTypeInfo() const noexcept final
Returns the layer type data.
std::unique_ptr< RenderLayer > createRenderLayer(Immutable< style::Layer::Impl >) noexcept final
Returns a new RenderLayer instance.
std::unique_ptr< style::Layer > createLayer(const std::string &id, const style::conversion::Convertible &value) noexcept final
Returns a new Layer instance on success call; returns nullptr otherwise.
std::unique_ptr< Layout > createLayout(const LayoutParameters &parameters, std::unique_ptr< GeometryTileLayer > tileLayer, const std::vector< Immutable< style::LayerProperties >> &group) noexcept final
Returns a new Layout instance on success call; returns nullptr otherwise.
Definition: actor.hpp:15
Definition: tile_id.hpp:256