mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 17:10:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			588 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			588 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <scwx/qt/map/draw_layer.hpp>
 | |
| 
 | |
| namespace scwx::qt::map
 | |
| {
 | |
| 
 | |
| class MarkerLayer : public DrawLayer
 | |
| {
 | |
|    Q_OBJECT
 | |
|    Q_DISABLE_COPY_MOVE(MarkerLayer)
 | |
| 
 | |
| public:
 | |
|    explicit MarkerLayer(const std::shared_ptr<gl::GlContext>& context);
 | |
|    ~MarkerLayer();
 | |
| 
 | |
|    void Initialize(const std::shared_ptr<MapContext>& mapContext) final;
 | |
|    void Render(const std::shared_ptr<MapContext>& mapContext,
 | |
|                const QMapLibre::CustomLayerRenderParameters&) final;
 | |
|    void Deinitialize() final;
 | |
| 
 | |
| private:
 | |
|    class Impl;
 | |
|    std::unique_ptr<Impl> p;
 | |
| };
 | |
| 
 | |
| } // namespace scwx::qt::map
 | 
