How Can I draw a line following a street?

by Maximiliano Potje Geraldo » Fri, 13 Mar 2009 01:43:13 GMT

Sponsored Links

In my application, I have just one GeoPoint at my map, and a I want to draw
a line in the street, the GeoPoint will be in the center, and  1 mile to tup
and 1 mile to down, for example.

But, the street can have a curve, or something like that.

So, my doubts:

1) How can I get\calculate the point far 1 mile from my original GeoPoint,
that follow the street?


2) Suppose that I have tow GeoPoint in a street, how can I draw a line
following the street?



Other Threads

1. HP lokal ber Android


ada yang tahu hp merk-merk lokal  yang pakai android


Frans Thamura
Experiential Tempation of Java and Enterprise OpenSource

Meruvian jTechnopreneur Program (S1) telah hadir, Dapatkan benefit bagi SMK
yang melakukan mapping SKKD, dg program beasiswa dari Gunadarma

Mobile: +6287885901958
Blog & Profile:

We provide services to migrate your apps to Java (web), in amazing fast and

"Indonesian Android Community [id-android]" 

2. how to send String/Int from subActivity to mainActivity without close the SubActivity

hi all,

does anyone know how to get result from subactivity to MainActivity
without close the subactivity?

i know the usual way is using method called "startActivityForResult
(Intent intent, int requestCode)"
and inside the subActivity set the result 1st before finish(); method


then the function called "protected void onActivityResult(int
requestCode, int resultCode, Intent data)" which is inside main
activity will get the result.


by using that way, it will close my sub activity and the system will
go back to main activity.

i already try to make my own listener and try to apply it, but it's
useless, because there will be nullException in subActivity even thou
inside the MainActivity i already set the listener. Hence i summarized
that by using listener the Activity can't talk each other.

anyone have any idea how can i do it?

thank you.


3. (wta)id imobsters

4. Serious Issue

5. Twitter app's popup aligned with ListView item - how did they do it?

6. Moving 2d shape on camera preview

7. Very weird problem !!