Merge pull request #6712 from osmandapp/issue_6651

Issue #6651 - Shared location in search history wrong - fixed
This commit is contained in:
vshcherb 2019-03-20 14:50:35 +01:00 committed by GitHub
commit 32d4f5a42a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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