Hello..
I have downloaded the application "DrivingDirection".It works fine for USA locations.I am trying to get the path between two points for locations in India. But it is giving me the value of route is null.
.
In The Code.
Using java Syntax Highlighting
- for (MapPoint current : route) // Here it is not going inside the Loop.Because route is null
- {
- /* Transform current MapPoint's Lat/Lng
- * into corresponding point on canvas
- * using the pixelCalculator. */
- if(current != null)
- {
- MapPointToScreenCoords(current, screenCoords, pxC);
- /* Add point to path. */
- thePath.lineTo(screenCoords[0], screenCoords[1]);
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
Can anybody please help me out.
Thanks in Advance.





