Hello @kartik,
If you are interested in showing the Latitude and Longitude from the current direction , you can use this :
Directions are always given from the users current location.
The following query will help you perform that . You can pass the destination latitude and longitude here:
google.navigation:q=latitude,longitude
Use above as:
Uri gmmIntentUri = Uri.parse("google.navigation:q=latitude,longitude");
Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);
mapIntent.setPackage("com.google.android.apps.maps");
startActivity(mapIntent);
Or if you want to show via location , use:
google.navigation:q=a+street+address
Hope this work!!