Files
MapLibreParticleLab/include/mbgl/layermanager/location_indicator_layer_factory.hpp
Gali Nelle 9a55c282fe Add LocationIndicatorLayer
New key is "G" in mbgl-glfw, cycling between no puck, centered
in the viewport and positioned in Tokyo.
2020-04-08 14:00:26 +03:00

16 lines
517 B
C++

#pragma once
#include <mbgl/layermanager/layer_factory.hpp>
namespace mbgl {
class LocationIndicatorLayerFactory : 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