I want to make this task and I´ve found some libraries to do that here by tyczj and here by akexorcist. These are good solutions but this libraries use httpClient and currently is deprecated, is there others?. Thanks.
It could be useful.
I want to make this task and I´ve found some libraries to do that here by tyczj and here by akexorcist. These are good solutions but this libraries use httpClient and currently is deprecated, is there others?. Thanks.
It could be useful.
overview_polyline string from response.Decode the string using android-maps-utils library with PolyUtil.decode method.
Add decoded points to map:
List<LatLng> decodedPoints = PolyUtil.decode(polylineString);
PolylineOptions options = new PolylineOptions();
options.width(6);
options.color(Color.RED);
options.addAll(decodedPoints);
map.addPolyline(options);