public final class

MapDirectionRequest

extends Object
java.lang.Object
   ↳ com.neomades.maps.MapDirectionRequest

Class Overview

Utility class to display route using the system map application (Google Map, Bing Map, iMap...).

Summary

Public Constructors
MapDirectionRequest()
Public Methods
static void openMapsForDirection(Location destination, String locationName)
Opens the device map application with the route from the user's current position to the selected destination.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MapDirectionRequest ()

Public Methods

public static void openMapsForDirection (Location destination, String locationName)

Opens the device map application with the route from the user's current position to the selected destination.

Parameters
destination the location, destination of the route
locationName name of the destination
Throws
MapRequestException if an error occurs during the map request