mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:10:05 +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
				
			
		|  | @ -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