mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:10:06 +00:00 
			
		
		
		
	Layer naming updates
This commit is contained in:
		
							parent
							
								
									44ada2cc8d
								
							
						
					
					
						commit
						7e2fd7c109
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -973,7 +973,7 @@ void MapWidgetImpl::AddPlacefileLayer(const std::string& placefileName, | |||
| std::string | ||||
| MapWidgetImpl::GetPlacefileLayerName(const std::string& placefileName) | ||||
| { | ||||
|    return fmt::format("placefile-{}", placefileName); | ||||
|    return types::GetLayerName(types::LayerType::Placefile, placefileName); | ||||
| } | ||||
| 
 | ||||
| void MapWidgetImpl::AddLayer(const std::string&            id, | ||||
|  |  | |||
|  | @ -152,7 +152,7 @@ std::string GetLayerDescriptionName(LayerDescription description) | |||
|    } | ||||
|    else if (std::holds_alternative<awips::Phenomenon>(description)) | ||||
|    { | ||||
|       return awips::GetPhenomenonText(std::get<awips::Phenomenon>(description)); | ||||
|       return awips::GetPhenomenonCode(std::get<awips::Phenomenon>(description)); | ||||
|    } | ||||
|    else if (std::holds_alternative<std::monostate>(description)) | ||||
|    { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat