How to Build Map app Navigation using MapBox API?

天大地大妈咪最大 提交于 2020-04-18 06:10:10

问题


I want to make map app for blind users in KSU campus using Mapbox API that position your location and gives you the routing to your destination turn by turn and tell you about the places in your way by voice. I want it to work in offline mode, also the user can search for his/her destination using keywords or by suggestions based on categories such as restaurants, faculties, etc. Do I need database, can you give me tips and summary on the things I will do like you can say conceptual overview? I would be grateful you can help.


回答1:


Since this is quite a large task, I will give a conceptual overview. First, you will want to set up a basic Android application that displays a Mapbox map by following this First Steps with the Mapbox Maps SDK for Android tutorial.

This example shows how to track and display device location. For step-by-step guidance, you can follow this tutorial to understand how to show the user's location on the map.

Next, you can use the Mapbox Navigation SDK for Android to compute and display routes to destinations. This section of the documentation explains how to use voice instructions with navigation.

You can then use the Mapbox Android Offline plugin to integrate offline maps. This guide also provides a useful overview of offline maps, and this Android example shows how to implement a simple offline map.

The Mapbox Places plugin for Android]8 lets users search for destinations. You can use this plugin to allow users to search for restaurants, facilities, etc. You might need your own database depending on what else you want to do and what information you want to include, since you might have some data in your database not included with the Places plugin. This will be specific to your implementation.

In general, going forward, I'd recommend that you search the Mapbox documentation. The documentation is very detailed, and each of your questions outlined here can be answered using the documentation. Familiarizing yourself with the docs will make things faster in the long run!



来源:https://stackoverflow.com/questions/60670343/how-to-build-map-app-navigation-using-mapbox-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!