mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	Use custom map style from settings
This commit is contained in:
		
							parent
							
								
									a683778624
								
							
						
					
					
						commit
						45a4d29795
					
				
					 4 changed files with 161 additions and 10 deletions
				
			
		|  | @ -178,6 +178,11 @@ static const std::unordered_map<MapProvider, MapProviderInfo> mapProviderInfo_ { | |||
|            .drawBelow_ {"aeroway_runway", "Aeroway"}}}}}, | ||||
|    {MapProvider::Unknown, MapProviderInfo {}}}; | ||||
| 
 | ||||
| bool MapStyle::IsValid() const | ||||
| { | ||||
|    return !url_.empty() && !drawBelow_.empty(); | ||||
| } | ||||
| 
 | ||||
| MapProvider GetMapProvider(const std::string& name) | ||||
| { | ||||
|    auto result = | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat