From 3d58c07729f8b4d972dccc50785a86d305f589c6 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Sun, 23 Apr 2017 11:05:33 +0300 Subject: [PATCH] Fix #3685 --- OsmAnd/src/net/osmand/plus/views/MapMarkersLayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/views/MapMarkersLayer.java b/OsmAnd/src/net/osmand/plus/views/MapMarkersLayer.java index eaf1d6a555..7600ea5b58 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapMarkersLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapMarkersLayer.java @@ -501,6 +501,7 @@ public class MapMarkersLayer extends OsmandMapLayer implements IContextMenuProvi mapMarkers.remove(i); mapMarkers.add(0, marker); markersHelper.saveMapMarkers(mapMarkers, null); + marker.index = 0; } } }