Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long distance between points #2

Open
GoogleCodeExporter opened this issue Aug 27, 2015 · 1 comment
Open

Long distance between points #2

GoogleCodeExporter opened this issue Aug 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Take 2 distant points (at least 300km)

Insteed of :
MapRouteActivity, line 48
double fromLat = 49.85, fromLon = 24.016667, 
toLat = 50.45, toLon = 30.523333;



What is the expected output? What do you see instead?
I expected the entire path between points, but only part appeared.


What version of the product are you using? On what operating system?

Trunk version of this project



Please provide any additional information below.
I've resolved it with a change.

See attached file.

Original issue reported on code.google.com by [email protected] on 19 Jul 2011 at 12:56

Attachments:

@GoogleCodeExporter
Copy link
Author

can you please tell me what is the problem in that code 
i have these errors in the logCat, the "description" is displaing "null null" 
and the application is closed.
here are the error LogCat :

07-31 16:10:43.592: W/System.err(1406): 
org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 1083: not 
well-formed (invalid token)
07-31 16:10:43.602: W/System.err(1406):     at 
org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:515)
07-31 16:10:43.602: W/System.err(1406):     at 
org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:474)
07-31 16:10:43.612: W/System.err(1406):     at 
org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:321)
07-31 16:10:43.612: W/System.err(1406):     at 
org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:279)
07-31 16:10:43.622: W/System.err(1406):     at 
javax.xml.parsers.SAXParser.parse(SAXParser.java:390)
07-31 16:10:43.622: W/System.err(1406):     at 
javax.xml.parsers.SAXParser.parse(SAXParser.java:187)
07-31 16:10:43.632: W/System.err(1406):     at 
org.ci.geo.route.RoadProvider.getRoute(RoadProvider.java:22)
07-31 16:10:43.632: W/System.err(1406):     at 
com.test.MainActivity$2.run(MainActivity.java:50)

07-31 16:10:43.872: E/AndroidRuntime(1406): FATAL EXCEPTION: main
07-31 16:10:43.872: E/AndroidRuntime(1406): java.lang.NullPointerException
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
com.test.MapOverlay.drawPath(MainActivity.java:126)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
com.test.MapOverlay.draw(MainActivity.java:116)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:42)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
com.google.android.maps.MapView.onDraw(MapView.java:530)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.View.draw(View.java:10978)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:2887)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.View.draw(View.java:10981)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.widget.FrameLayout.draw(FrameLayout.java:450)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:212
6)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewRootImpl.draw(ViewRootImpl.java:2026)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1634)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.os.Looper.loop(Looper.java:137)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
android.app.ActivityThread.main(ActivityThread.java:4424)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
java.lang.reflect.Method.invokeNative(Native Method)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
java.lang.reflect.Method.invoke(Method.java:511)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
07-31 16:10:43.872: E/AndroidRuntime(1406):     at 
dalvik.system.NativeStart.main(Native Method)
 PLEASE can you fix it up for me ?? ill be gratefull 

Original comment by [email protected] on 31 Jul 2012 at 4:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant