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.OnDismissDialogFragmentListener;
|
||||||
import net.osmand.plus.OsmAndAppCustomization.OsmAndAppCustomizationListener;
|
import net.osmand.plus.OsmAndAppCustomization.OsmAndAppCustomizationListener;
|
||||||
import net.osmand.plus.OsmAndConstants;
|
import net.osmand.plus.OsmAndConstants;
|
||||||
|
import net.osmand.plus.OsmAndFormatter;
|
||||||
import net.osmand.plus.OsmandApplication;
|
import net.osmand.plus.OsmandApplication;
|
||||||
import net.osmand.plus.OsmandPlugin;
|
import net.osmand.plus.OsmandPlugin;
|
||||||
import net.osmand.plus.OsmandSettings;
|
import net.osmand.plus.OsmandSettings;
|
||||||
|
@ -1499,8 +1500,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
||||||
if (zoom != null) {
|
if (zoom != null) {
|
||||||
z = Integer.parseInt(zoom);
|
z = Integer.parseInt(zoom);
|
||||||
}
|
}
|
||||||
settings.setMapLocationToShow(lt, ln, z, new PointDescription(
|
settings.setMapLocationToShow(lt, ln, z, new PointDescription(lt, ln));
|
||||||
PointDescription.POINT_TYPE_MARKER, getString(R.string.shared_location)));
|
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
LOG.error("error", e);
|
LOG.error("error", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue