mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 23:40:06 +00:00 
			
		
		
		
	MapContext has a GlContext instead of MapContext is a GlContext
This commit is contained in:
		
							parent
							
								
									58f2609fe7
								
							
						
					
					
						commit
						2d4ad2737e
					
				
					 31 changed files with 147 additions and 307 deletions
				
			
		|  | @ -6,11 +6,7 @@ | |||
| 
 | ||||
| #include <QMapLibre/Settings> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace qt | ||||
| { | ||||
| namespace map | ||||
| namespace scwx::qt::map | ||||
| { | ||||
| 
 | ||||
| enum class MapProvider | ||||
|  | @ -19,9 +15,8 @@ enum class MapProvider | |||
|    MapTiler, | ||||
|    Unknown | ||||
| }; | ||||
| typedef scwx::util:: | ||||
|    Iterator<MapProvider, MapProvider::Mapbox, MapProvider::MapTiler> | ||||
|       MapProviderIterator; | ||||
| using MapProviderIterator = scwx::util:: | ||||
|    Iterator<MapProvider, MapProvider::Mapbox, MapProvider::MapTiler>; | ||||
| 
 | ||||
| struct MapStyle | ||||
| { | ||||
|  | @ -29,7 +24,7 @@ struct MapStyle | |||
|    std::string              url_; | ||||
|    std::vector<std::string> drawBelow_; | ||||
| 
 | ||||
|    bool IsValid() const; | ||||
|    [[nodiscard]] bool IsValid() const; | ||||
| }; | ||||
| 
 | ||||
| struct MapProviderInfo | ||||
|  | @ -45,6 +40,4 @@ std::string            GetMapProviderName(MapProvider mapProvider); | |||
| std::string            GetMapProviderApiKey(MapProvider mapProvider); | ||||
| const MapProviderInfo& GetMapProviderInfo(MapProvider mapProvider); | ||||
| 
 | ||||
| } // namespace map
 | ||||
| } // namespace qt
 | ||||
| } // namespace scwx
 | ||||
| } // namespace scwx::qt::map
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat