
j2memaprouteprovider
uses http://maps.google.com'>http://maps.google.com'>http://maps.google.com to route a driving directions between two locations and parse response http://code.google.com/intl/uk/apis/kml/documentation/'>kml file with SAX parser into easy coordinates structure. Contains example applications on Blackberry and Android.
UPDATE
Feb 22, 2012 - Update to handle multiple
<coordinates>
tags per kml document. Thanks, Lukas!
WARNING
This code samples are for educational purpose only!
It's not officially allowed by Google Maps APIs Terms of Service to use Google Maps API for driving directions:
Google Maps/Google Earth APIs Terms of Service
Last updated: May 27, 2009
...
10. License Restrictions. Except as expressly permitted under the Terms, or unless you have received prior written authorization from Google (or, as applicable, from the provider of particular Content), Google's licenses above are subject to your adherence to all of the restrictions below. Except as explicitly permitted in Section 7 or the Maps APIs Documentation, you must not (nor may you permit anyone else to):
...
10.9 use the Service or Content with any products, systems, or applications for or in connection with:
(a) real time navigation or route guidance, including but not limited to turn-by-turn route guidance that is synchronized to the position of a user's sensor-enabled device;
and may be disabled for certain apps (somehow, at least on Android)... From http://groups.google.com/group/Google-Maps-API/msg/7fa25a13e6153d02'>Geocode scraping in .NET conversation:
This is not allowed by the API terms of use. You should not scrape
Google Maps to generate geocodes. We will block services that do
automated queries of our servers.Bret Taylor
Product Manager, Google Maps
Project Information
- License: GNU GPL v2
- 26 stars
- svn-based source control
Labels:
j2me
map
route
gis
android
blackberry
drivedirections