Revert map marker color change

This commit is contained in:
Victor Shcherb 2016-11-03 22:03:11 +02:00
parent c09962c53b
commit 91acdb0420

View file

@ -343,7 +343,7 @@ public class MapMarkersHelper {
} }
if (colorIndex == -1) { if (colorIndex == -1) {
if (sortedMapMarkers.size() > 0) { if (sortedMapMarkers.size() > 0) {
colorIndex = (sortedMapMarkers.get(sortedMapMarkers.size() - 1).colorIndex + 1) % MAP_MARKERS_COLORS_COUNT; colorIndex = (sortedMapMarkers.get(0).colorIndex + 1) % MAP_MARKERS_COLORS_COUNT;
} else { } else {
colorIndex = 0; colorIndex = 0;
} }