Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
5129a4fa6f
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ public class MapMarkersHelper {
|
|||
}
|
||||
if (colorIndex == -1) {
|
||||
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 {
|
||||
colorIndex = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue