I am curious if it is possible to adjust the route after a maneuver like you can see in this video from the Mapbox website: https://www.mapbox.com/assets/use-cases-navigation-sdk-272b22ac06adc9a4275dcc13624112d8.mp4
Goal is to hide the route which has already been traversed.
I am using the mapbox navigation android sdk but didn't find anything in the docs.
Thanks in advance!
Hey 👋🏼 thanks for checking out the Android Navigation SDK! You're correct, unfortunately we currently don't have APIs to support this use-case.
If you'd like, it would be 💯 if you cut a ticket for feature request with a .gif of this video: https://github.com/mapbox/mapbox-navigation-android/issues
Thanks again and let us know if you have any other questions.
Related
I have a huge plan of a site (the plan is just a picture), the problem is that Google Maps, can't have access to it, so I need to add markers in this picture (Plan), My question how to that ? how to make a picture interactive ? how to add markers ?
Really I have no idea, I saw indoor of Google Maps, but it's not what my custmer need.
Thank's !
this is a small example
you may give this library a try or see its demo here: https://leafletjs.com
it's a pure javascript library that may be used with any web platforms
wish it to be helpful.
I've been exploring the Mapbox Map SDK and the Navigation SDK and have hit a brick wall so any help would be appreciated.
I have a few routes defined in GeoJSON. Is it possible to feed this custom route in GeoJSON into the Navigation SDK and get turn-by-turn directions?
Perhaps with the help of this plugin:
https://www.mapbox.com/android-docs/plugins/overview/geojson/#using-the-geojson-plugin
I realise there also is a Map Matching API:
https://www.mapbox.com/help/define-map-matching/
Which seem like a perfect way to snap all the geocoordinates to the road so that there is no bleed.
Now the undocumented part or the part that I am having trouble with is with a route properly defined in GeoJSON, can Mapbox provide turn-by-turn navigation directions?
Any help would be greatly appreciated.
The Navigation SDK will take in any DirectionsRoute and try navigating along it, that is if all the necessary information is found in the object. For your case, you might want to try as you mentioned, Map Matching beforehand and using the MapMatchingMatching object which extends the DirectionsRoute to begin a nav session. Note that I haven't tried this yet. Make sure your Map Matching request has steps set to true.
I am trying to create a Location based augmented reality app which plots marker on top of the camera view.
Mose of the libraries and tutorials are outdated and they are 4+ years old also not stable. Below is the link to things which i have tried and failed.
Links to libraries
Link to tutorial
Link to stack
Im trying to create something like below image which is an iOS app developed using HDAugmentedReality which is very stable and does not overlap.
Since i could not find any library I'm planing to use Google Maps, It rotates according to camera with simulates AR. So i am planning to show only the markers and hide the Google Map View. If this is possible i can easily create an Location based AR app..
Is it possible to hide Maps but show Markers or is there any library which i missed? Thanks in advance .
I believe you can't use the Markers without showing it on Maps. The main purpose of it is to identify the location on a map. My suggestion would be for you to use your own custom overlay for the marked items you'll show.
Check out the Sun Surveyor, its not similar to what you'll do, but the idea of overlaying the information seems plausible (as indicated on the tutorial link you provided).
I have a problem with Google Maps where I need to hide some icons that are shown automatically on the map such as museums, bus stops, parks etc.
I am having problems searching the documentation for this because I do not even know how these marker icons are called in Google Maps. I would highly appreciate any information you have that can help me find a solution, thank you in advance.
You would need to use Places API for this.
Would need to do poi.park visiblity turn off.
You can see all of the supported places type here.
To see how to use Places API in Android, you can check this link out.
I want to draw route between two points. I did this successfully. But how to know if the user deviated from drawn path or not. So that I can suggest user to notify alternative path to reach their destination. Like what google map navigation did. Am working on it and till now I could't find any answer for this. Please suggest some approach to me to find deviation from selected route.
Thanks in advance.
Use PolyUtil.isLocationOnPath(...) from Google Maps Android API utility library.