mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:40:05 +00:00 
			
		
		
		
	Use information available during DoMousePicking instead of params from
last render in MapWidget
This commit is contained in:
		
							parent
							
								
									4038fb2c43
								
							
						
					
					
						commit
						36e8690ad1
					
				
					 6 changed files with 9 additions and 22 deletions
				
			
		|  | @ -27,7 +27,6 @@ public: | |||
|       common::RadarProductGroup::Unknown}; | ||||
|    std::string                            radarProduct_ {"???"}; | ||||
|    int16_t                                radarProductCode_ {0}; | ||||
|    QMapLibre::CustomLayerRenderParameters renderParameters_ {}; | ||||
| 
 | ||||
|    MapProvider mapProvider_ {MapProvider::Unknown}; | ||||
|    std::string mapCopyrights_ {}; | ||||
|  | @ -110,11 +109,6 @@ int16_t MapContext::radar_product_code() const | |||
|    return p->radarProductCode_; | ||||
| } | ||||
| 
 | ||||
| QMapLibre::CustomLayerRenderParameters MapContext::render_parameters() const | ||||
| { | ||||
|    return p->renderParameters_; | ||||
| } | ||||
| 
 | ||||
| void MapContext::set_map(const std::shared_ptr<QMapLibre::Map>& map) | ||||
| { | ||||
|    p->map_ = map; | ||||
|  | @ -173,12 +167,6 @@ void MapContext::set_radar_product_code(int16_t radarProductCode) | |||
|    p->radarProductCode_ = radarProductCode; | ||||
| } | ||||
| 
 | ||||
| void MapContext::set_render_parameters( | ||||
|    const QMapLibre::CustomLayerRenderParameters& params) | ||||
| { | ||||
|    p->renderParameters_ = params; | ||||
| } | ||||
| 
 | ||||
| } // namespace map
 | ||||
| } // namespace qt
 | ||||
| } // namespace scwx
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak