How to Create Turn-By-Turn Gps Navigation App on Android/iOS Using Google Maps

Is it possible to create turn-by-turn GPS navigation app on Android/iOS using Google Maps?

Edit: Read answer by Tushar below before using this answer

First Option

If you want to implement the navigation completely in your app you will have to use a combination of the Google Maps API and the Google Directions API. They are free to use up to a limit and then you have to pay for the api requests.(https://developers.google.com/maps/documentation/directions/)

Second Option

I would just send the latitude and longitude of the location you want to navigate to the devices Maps app. Here is some code to start you off with this method:

double lat = < latitude of the location you want to navigate to>

double lng = < longitude of the location you want to navigate to>

String format = "geo:0,0?q=" + lat + "," + lng + "( Location title)";

Uri uri = Uri.parse(format);


Intent intent = new Intent(Intent.ACTION_VIEW, uri);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);

This will open the device's Maps app and plot the location and the user can use the app to do what ever they want.

I would go with the Second Option, it is stupidly easy to implement.

Turn-by-turn GPS navigation app on iOS using Google Maps?

No, this cannot legally be done.

Even Google does not have the right to allow the usage for Turn-by_Turn navigation. Google gets their digital road maps mainly from TomTom, and they just do not allow that, because they want to sell their own navigation devices.

It might be possible to sign a contract with TomTom and Google for special data delivery. But you can expect extreme costs, per year per navigation device.

The other professional digital road map provider is Here maps(former Nokia).
I don't know if and under which condition they provide a routing service.

Be warned, developping a navigation system is a very complex task, I know a company that invested 1000 person years, after some years on the market, that company stopped their activities.

Check first whether it is legal to use Apples API, and then use that, or forget the app.

Google map's turn by turn gps navigation for ios development

The google map ios Sdk does not have any turn-by-turn navigation api or navigation api's,yet.

Please refer link https://developers.google.com/maps/documentation/ios/urlscheme for custom url schema features.

Turn by turn navigation in Google map with in the application

Google's terms of service for their mapping api does not allow turn-by-turn navigation, please see https://developers.google.com/maps/terms 10.4.c.3

Last I looked (which was a while ago) Apple maps, here (by nokia) and some private mapping services (such as skobbler by telenav http://developer.skobbler.com/#tour) will allow you to do this.



Related Topics



Leave a reply



Submit