Merge pull request #6712 from osmandapp/issue_6651
Issue #6651 - Shared location in search history wrong - fixed
This commit is contained in:
commit
32d4f5a42a
1 changed files with 1 additions and 2 deletions
|
@ -1499,8 +1499,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
|||
if (zoom != null) {
|
||||
z = Integer.parseInt(zoom);
|
||||
}
|
||||
settings.setMapLocationToShow(lt, ln, z, new PointDescription(
|
||||
PointDescription.POINT_TYPE_MARKER, getString(R.string.shared_location)));
|
||||
settings.setMapLocationToShow(lt, ln, z, new PointDescription(lt, ln));
|
||||
} catch (NumberFormatException e) {
|
||||
LOG.error("error", e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue