Deep Map SDK Android
Route calculation and navigation
In this tutorial, we will take a look at basic routing features. For this we use our previously created MyMapFragment class.
The objective here is to create a routing line from a given start location to a given end location. Our two tap callback methods onSingleTap and onLongPress work just fine for that:
Note: We're also adding annotations for the start and end points of our route!
That's it! A user can now define a route by holding their finger down on one location, then single-tapping on another destination.