forked from organicmaps/organicmaps-tmp
[search] Fix bug with icons in iOS GUI.
This commit is contained in:
parent
f7a1e679b8
commit
c0d319f011
1 changed files with 2 additions and 0 deletions
|
@ -478,6 +478,8 @@ static void OnSearchResultCallback(search::Results const & res, int queryId)
|
|||
}
|
||||
else
|
||||
{
|
||||
// Reset possibly cached image
|
||||
compass.image = nil;
|
||||
double const northDeg = (heading.trueHeading < 0) ? heading.magneticHeading : heading.trueHeading;
|
||||
m2::PointD const center = r.GetFeatureCenter();
|
||||
compass.angle = ang::AngleTo(m2::PointD(MercatorBounds::LonToX(loc.coordinate.longitude),
|
||||
|
|
Loading…
Add table
Reference in a new issue