mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:00:05 +00:00
location markers part2 initial clang-tidy changes
This commit is contained in:
parent
cac89129af
commit
7ab12e7b4b
6 changed files with 66 additions and 52 deletions
|
|
@ -72,9 +72,10 @@ void MarkerLayer::Impl::ReloadMarkers()
|
|||
{
|
||||
// must use local ID, instead of reference to marker in event handler
|
||||
// callback.
|
||||
types::MarkerId id = marker.id;
|
||||
const types::MarkerId id = marker.id;
|
||||
|
||||
std::shared_ptr<gl::draw::GeoIconDrawItem> icon = geoIcons_->AddIcon();
|
||||
const std::shared_ptr<gl::draw::GeoIconDrawItem> icon =
|
||||
geoIcons_->AddIcon();
|
||||
|
||||
geoIcons_->SetIconTexture(icon, marker.iconName, 0);
|
||||
geoIcons_->SetIconLocation(icon, marker.latitude, marker.longitude);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue