How to draw curved polyline in mapbox sdk for Android
问题 I want to draw a curved polyline between two points on a map with the Mapbox SDK. I could not find any solution from the Mapbox SDK. The Turf library is not ready yet to use it on Android. 回答1: I found a solution with the google maps sdk so I converted it to use only the Mapbox sdk : Inspired by Can I draw a curved dashed line in Google Maps Android? public static List<LatLng> computeCurvedPolyline(LatLng from, LatLng to, double k) { //Calculate distance and heading between two points double