I'm trying my strength in developing an application in android and I have the following que开发者_StackOverflowstion:
My android device comes with a built in google map (oddly enough it's called maps). I'd like to develop on top of that platform. The requirements are:
- Querying the map for points based on names of streets I give (and numbers perhaps)
- Highlighting lines or roads drawn between the highlighted points I gave
Does android's map support it? If not, is there any platform (free or commercial) that will make such a thing possible?
Thank you very much~!
Read basic Google Maps tutorial. For transforming street names to geo-locations and back use Geocoder.
AFAIK there is no route calculation functionality in Google Maps for Android. Furthermore, live route calculations for navigation are not allowed by Google Maps terms of service, article 8.7.
For alternative approach take a look at: J2ME/Android/BlackBerry - driving directions, route between two locations
精彩评论