Common layer naming

This commit is contained in:
Dan Paulat 2023-11-01 23:17:23 -05:00
parent a5cee797d9
commit 3392a9a402
6 changed files with 85 additions and 63 deletions

View file

@ -1,6 +1,9 @@
#pragma once
#include <scwx/qt/map/draw_layer.hpp>
#include <scwx/awips/phenomenon.hpp>
#include <scwx/qt/map/map_context.hpp>
#include <memory>
namespace scwx
{
@ -11,16 +14,13 @@ namespace map
class AlertLayerImpl;
class AlertLayer : public DrawLayer
class AlertLayer
{
public:
explicit AlertLayer(std::shared_ptr<MapContext> context);
~AlertLayer();
void Initialize() override final;
void Render(const QMapLibreGL::CustomLayerRenderParameters&) override final;
void Deinitialize() override final;
void AddLayers(awips::Phenomenon phenomenon, const std::string& before = {});
void AddLayers(const std::string& before = {});
private: