I am developing a tracking app that I will get the coordinates from an api. I want to draw lines between the coordinates. How could I achieve this?
            Asked
            
        
        
            Active
            
        
            Viewed 57 times
        
    1 Answers
0
            
            
        It is well defined in the android developers;
GoogleMap map;
// ... get a map.
// Add a thin red line from London to New York.
Polyline line = map.addPolyline(new PolylineOptions()
    .add(new LatLng(51.5, -0.1), new LatLng(40.7, -74.0))
    .width(5)
    .color(Color.RED));
And, see also
 
    
    
        kelalaka
        
- 5,064
- 5
- 27
- 44
