I tried navigation with Intents when user click on marker and it's work well. Problem is that I need implement that in my own app. (without opening GoogleMaps app)
How to start implement navigation from current location to markers in my own app without intents? Any help will be appreciated :)
You may use this library. It uses Directions API but in free plan it has limit to 2500 requests/day.
Related
Using HERE Mobile SDK for Android, we tried to test the navigation and created a GPS Feeder for mock locations. We get different results using position manager vs navigation
Using the position manager, we tracked the location as in this image
(click here)
Using the position listener from the navigation manager
(click here)
We also tried with HERE WeGo Android App from Android Play Store, and we had the same issues.
But using Google Navigation, this issue didn't happen.
Do you know any other solution for Navigation testing?
Best for testing your navigation is to use navigationManager.simulate(navigationRoute, 60); Then you will be driving along the route, however, you cannot test how the route is being recalculated in case you don't follow the route.
If you want to real testing means when you are moving and navigation updates you then you have to use navigationManager.startNavigation(route) instead of navigationManager.simulate(navigationRoute, 50);
i have create a tracking project using maps from Google on android kotlin, and i want to create more that user can go to somewhere with navigation (so there's two point, a current location point and destination point). i want to implement turn by turn navigation sdk from mapbox? is it possible to do that? have you build it before?
ya turn by turn navigation is tricky.Map box should make it easier though u just have to implement there sdk in your project and they also have docs on how to use the Map box sdk. only downfall is you have to pay for it.
i would advise if you are creating a personal project try creating a location listener and update current position of the device on a google maps intent. you can then just create your own navigation app ( its abit of a longer way around it but you would have more control over the navigation and plus its free)
I would like to create a drivers screen where some useful information are displayed. I want to display navigation hints, but I don't want to program a whole navigation system.
Is there a way to access the current navigation hints from google navigation or any other free navigation app?
I prefer access to an android app, because I thought the easiest prototype would be an android app. But I'm thankfull for any information about it and how this could be achieved.
I would suggest checking if your use case is compatible with restrictions exposed in the Terms of Service of Google Maps API. Have a look at section 10.4.c (iii)
No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control.
https://developers.google.com/maps/terms#section_10_4
I'm working on a cross platform (iOS & Android) app that requires the user to follow a (possibly closed) path made of several destinations.
So far it seems that my best option is to find a way to open Google Maps with a URL like this: https://www.google.com/maps/dir/San+Jose,+CA/GooglePlex/San+Francisco,+CA
Besides the fact that such url opens the browser first and not the app directly, Google Maps doesn't enter the "navigation" mode.
I analyzed the SDK and there doesn't seem to be a way to instantiate a path with multiple destinations.
Is there a way to achieve navigation on multiple destinations in Google Maps? If not, any alternative with "navigation" mode?
Yes you can achieve navigation in multiple direction
1) in navigation map first it has been showing one direction , there your calling one api, check that api you will get multiple direction data, just you have to parse the all data by using loop and need to do custom implementation.
I am developing an android app where more than one user can connect like whatsapp along with their location.
For example,
I have connected with three friends called A, B, and C. I can able to get their location in latitude&longitude and showing those in the google map. I implemented that.
If I start moving I can see that my location also moving. I implemented this using GPS.
Here I also want to show the navigation of my friends if they started moving. (Multiple navigation at one time) How can I achieve this? Is this possible with Google Maps?
I searched for solutions in SO and google. Cant find. Help needed.