mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:20:06 +00:00 
			
		
		
		
	Updated marker to a custom marker so it is different from the center marker
This commit is contained in:
		
							parent
							
								
									3b8e0d8180
								
							
						
					
					
						commit
						aabf4fcbb0
					
				
					 5 changed files with 14 additions and 1 deletions
				
			
		
							
								
								
									
										9
									
								
								scwx-qt/res/textures/images/location-marker.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								scwx-qt/res/textures/images/location-marker.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,9 @@ | |||
| <svg version="1.1" | ||||
|      width="15" height="15" | ||||
|      xmlns="http://www.w3.org/2000/svg"> | ||||
| 
 | ||||
|     <path d="M 3,12 L 8,3 L 12,12 L 3,12 L 8,3" | ||||
|         stroke="black" stroke-width="4px" fill="none"/> | ||||
|     <path d="M 3,12 L 8,3 L 12,12 L 3,12 L 8,3" | ||||
|         stroke="red"   stroke-width="2px" fill="none"/> | ||||
|  </svg> | ||||
| After Width: | Height: | Size: 305 B | 
|  | @ -75,6 +75,7 @@ | |||
|         <file>res/textures/images/cursor-17.png</file> | ||||
|         <file>res/textures/images/crosshairs-24.png</file> | ||||
|         <file>res/textures/images/dot-3.png</file> | ||||
|         <file>res/textures/images/location-marker.svg</file> | ||||
|         <file>res/textures/images/mapbox-logo.svg</file> | ||||
|         <file>res/textures/images/maptiler-logo.svg</file> | ||||
|     </qresource> | ||||
|  |  | |||
|  | @ -30,7 +30,7 @@ public: | |||
| 
 | ||||
|    MarkerLayer* self_; | ||||
|    const std::string& markerIconName_ { | ||||
|       types::GetTextureName(types::ImageTexture::Cursor17)}; | ||||
|       types::GetTextureName(types::ImageTexture::LocationMarker)}; | ||||
| 
 | ||||
|    std::shared_ptr<gl::draw::GeoIcons> geoIcons_; | ||||
| }; | ||||
|  |  | |||
|  | @ -25,6 +25,8 @@ static const std::unordered_map<ImageTexture, TextureInfo> imageTextureInfo_ { | |||
|    {ImageTexture::Cursor17, | ||||
|     {"images/cursor-17", ":/res/textures/images/cursor-17.png"}}, | ||||
|    {ImageTexture::Dot3, {"images/dot-3", ":/res/textures/images/dot-3.png"}}, | ||||
|    {ImageTexture::LocationMarker, | ||||
|     {"images/location-marker", ":/res/textures/images/location-marker.svg"}}, | ||||
|    {ImageTexture::MapboxLogo, | ||||
|     {"images/mapbox-logo", ":/res/textures/images/mapbox-logo.svg"}}, | ||||
|    {ImageTexture::MapTilerLogo, | ||||
|  |  | |||
|  | @ -18,6 +18,7 @@ enum class ImageTexture | |||
|    Crosshairs24, | ||||
|    Cursor17, | ||||
|    Dot3, | ||||
|    LocationMarker, | ||||
|    MapboxLogo, | ||||
|    MapTilerLogo | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak