Overview UI

Display an overview of a route at anytime

Before you can do this, you need a TGRoute . Here's how to get one.

Display a route overview using a pre-built activity:

TGLauncher.startMapOverview(CONTEXT, route.getRouteId());

Display a route overview using a fragment:

FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
    TGRouteOverviewSupportFragment.newInstance(route.getRouteId()), TGRouteOverviewSupportFragment.TAG);
Check out the Android Reference App to see this example in action.