Issue #6651 - Shared location in search history wrong - fixed
This commit is contained in:
parent
0c8ce1270a
commit
ce0ec5eff6
1 changed files with 2 additions and 2 deletions
|
@ -66,6 +66,7 @@ import net.osmand.plus.MapMarkersHelper.MapMarkerChangedListener;
|
|||
import net.osmand.plus.OnDismissDialogFragmentListener;
|
||||
import net.osmand.plus.OsmAndAppCustomization.OsmAndAppCustomizationListener;
|
||||
import net.osmand.plus.OsmAndConstants;
|
||||
import net.osmand.plus.OsmAndFormatter;
|
||||
import net.osmand.plus.OsmandApplication;
|
||||
import net.osmand.plus.OsmandPlugin;
|
||||
import net.osmand.plus.OsmandSettings;
|
||||
|
@ -1499,8 +1500,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