From 1a8d1a710b2f2d57f11702d146c7c37d26ae9dbd Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 11 Oct 2017 12:01:27 +0300 Subject: [PATCH] Show address in location item; fix distance calculation --- .../adapters/MapMarkersListAdapter.java | 54 ++++++++++++++----- 1 file changed, 41 insertions(+), 13 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersListAdapter.java b/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersListAdapter.java index 62d8f68722..cdfed89b48 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersListAdapter.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersListAdapter.java @@ -11,7 +11,10 @@ import android.view.ViewGroup; import net.osmand.Location; import net.osmand.data.LatLon; +import net.osmand.data.PointDescription; import net.osmand.plus.GPXUtilities.WptPt; +import net.osmand.plus.GeocodingLookupService.AddressLookupRequest; +import net.osmand.plus.GeocodingLookupService.OnAddressLookupResult; import net.osmand.plus.IconsCache; import net.osmand.plus.MapMarkersHelper.MapMarker; import net.osmand.plus.OsmAndFormatter; @@ -43,6 +46,8 @@ public class MapMarkersListAdapter extends RecyclerView.Adapter, List> snappedToRoadPoints; @@ -55,6 +60,8 @@ public class MapMarkersListAdapter extends RecyclerView.Adapter