Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Marchuk <trashkalmar@users.noreply.github.com>2015-10-13 13:49:43 +0300
committerAlexander Marchuk <trashkalmar@users.noreply.github.com>2015-10-13 13:49:43 +0300
commit8cd5d711abc7731cd40e2e20903e39b20c313cf7 (patch)
tree1e4dfbc62328882e5f6c9095ea43ece1344bc8c4 /android/src/com/mapswithme/maps/routing/RoutingInfo.java
parent90bdab4e6b095bbc8a445cea52417250cc9af7cb (diff)
parenta8e4722ad2ba75891dfa7a0b0196475394eded52 (diff)
Merge pull request #220 from yunikkk/routing_exit_numandroid-release-514
[android] Show exit num.
Diffstat (limited to 'android/src/com/mapswithme/maps/routing/RoutingInfo.java')
-rw-r--r--android/src/com/mapswithme/maps/routing/RoutingInfo.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/src/com/mapswithme/maps/routing/RoutingInfo.java b/android/src/com/mapswithme/maps/routing/RoutingInfo.java
index 1fbdfbe50f..10ff9f1424 100644
--- a/android/src/com/mapswithme/maps/routing/RoutingInfo.java
+++ b/android/src/com/mapswithme/maps/routing/RoutingInfo.java
@@ -98,6 +98,11 @@ public class RoutingInfo
{
return turn == TURN_RIGHT || turn == TURN_SHARP_RIGHT || turn == TURN_SLIGHT_RIGHT;
}
+
+ public static boolean isRoundAbout(VehicleTurnDirection turn)
+ {
+ return turn == ENTER_ROUND_ABOUT || turn == LEAVE_ROUND_ABOUT || turn == STAY_ON_ROUND_ABOUT;
+ }
}
public enum PedestrianTurnDirection