MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
location_indicator_layer_factory.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace mbgl {
6 
8 protected:
9  const style::LayerTypeInfo* getTypeInfo() const noexcept final;
10  std::unique_ptr<style::Layer> createLayer(const std::string& id,
11  const style::conversion::Convertible& value) noexcept final;
12  std::unique_ptr<RenderLayer> createRenderLayer(Immutable<style::Layer::Impl>) noexcept final;
13 };
14 
15 } // namespace mbgl
The LayerFactory abstract class.
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< RenderLayer > createRenderLayer(Immutable< style::Layer::Impl >) noexcept final
Returns a new RenderLayer instance.
const style::LayerTypeInfo * getTypeInfo() const noexcept final
Returns the layer type data.
Definition: actor.hpp:15
Definition: tile_id.hpp:256