Add placefile layer with text rendering

This commit is contained in:
Dan Paulat 2023-07-19 23:27:37 -05:00
parent bfe62301b2
commit 1a411af3bc
4 changed files with 142 additions and 0 deletions

View file

@ -0,0 +1,29 @@
#pragma once
#include <scwx/qt/map/draw_layer.hpp>
namespace scwx
{
namespace qt
{
namespace map
{
class PlacefileLayer : public DrawLayer
{
public:
explicit PlacefileLayer(std::shared_ptr<MapContext> context);
~PlacefileLayer();
void Initialize() override final;
void Render(const QMapLibreGL::CustomLayerRenderParameters&) override final;
void Deinitialize() override final;
private:
class Impl;
std::unique_ptr<Impl> p;
};
} // namespace map
} // namespace qt
} // namespace scwx