mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-02 11:50:05 +00:00
Use name as hover text for marker
This commit is contained in:
parent
7a064c750a
commit
c73698619d
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ void MarkerLayer::Impl::ReloadMarkers()
|
|||
std::shared_ptr<gl::draw::GeoIconDrawItem> icon = geoIcons_->AddIcon();
|
||||
geoIcons_->SetIconTexture(icon, markerIconName_, 0);
|
||||
geoIcons_->SetIconLocation(icon, marker.latitude, marker.longitude);
|
||||
geoIcons_->SetIconHoverText(icon, marker.name);
|
||||
});
|
||||
|
||||
geoIcons_->FinishIcons();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue