Updated marker to a custom marker so it is different from the center marker

This commit is contained in:
AdenKoperczak 2024-10-06 13:15:20 -04:00
parent 3b8e0d8180
commit aabf4fcbb0
5 changed files with 14 additions and 1 deletions

View file

@ -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_;
};

View file

@ -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,

View file

@ -18,6 +18,7 @@ enum class ImageTexture
Crosshairs24,
Cursor17,
Dot3,
LocationMarker,
MapboxLogo,
MapTilerLogo
};