mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:00:05 +00:00 
			
		
		
		
	Refactor QMapLibreGL to QMapLibre
This commit is contained in:
		
							parent
							
								
									db0d26a4ad
								
							
						
					
					
						commit
						1fd52f771c
					
				
					 55 changed files with 305 additions and 313 deletions
				
			
		|  | @ -3,7 +3,7 @@ | |||
| #include <scwx/qt/gl/gl_context.hpp> | ||||
| #include <scwx/common/products.hpp> | ||||
| 
 | ||||
| #include <QMapLibreGL/QMapLibreGL> | ||||
| #include <qmaplibre.hpp> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
|  | @ -35,7 +35,7 @@ public: | |||
|    MapContext(MapContext&&) noexcept; | ||||
|    MapContext& operator=(MapContext&&) noexcept; | ||||
| 
 | ||||
|    std::weak_ptr<QMapLibreGL::Map>           map() const; | ||||
|    std::weak_ptr<QMapLibre::Map>             map() const; | ||||
|    MapSettings&                              settings(); | ||||
|    float                                     pixel_ratio() const; | ||||
|    std::shared_ptr<view::OverlayProductView> overlay_product_view() const; | ||||
|  | @ -43,9 +43,9 @@ public: | |||
|    common::RadarProductGroup                 radar_product_group() const; | ||||
|    std::string                               radar_product() const; | ||||
|    int16_t                                   radar_product_code() const; | ||||
|    QMapLibreGL::CustomLayerRenderParameters  render_parameters() const; | ||||
|    QMapLibre::CustomLayerRenderParameters    render_parameters() const; | ||||
| 
 | ||||
|    void set_map(const std::shared_ptr<QMapLibreGL::Map>& map); | ||||
|    void set_map(const std::shared_ptr<QMapLibre::Map>& map); | ||||
|    void set_overlay_product_view( | ||||
|       const std::shared_ptr<view::OverlayProductView>& overlayProductView); | ||||
|    void set_pixel_ratio(float pixelRatio); | ||||
|  | @ -54,8 +54,8 @@ public: | |||
|    void set_radar_product_group(common::RadarProductGroup radarProductGroup); | ||||
|    void set_radar_product(const std::string& radarProduct); | ||||
|    void set_radar_product_code(int16_t radarProductCode); | ||||
|    void set_render_parameters( | ||||
|       const QMapLibreGL::CustomLayerRenderParameters& params); | ||||
|    void | ||||
|    set_render_parameters(const QMapLibre::CustomLayerRenderParameters& params); | ||||
| 
 | ||||
| private: | ||||
|    class Impl; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat