Hi. I have a problem on displaying polylines between 2 markers. First marker for user current location and the second one for the destination location. I already try follow this thread https://www.b4x.com/android/forum/threads/polyline-in-google-map-api-v2.35041/post-318879 . But its not working for me. For now the two marker already displayed on the map. Any idea on how to make the polylines appear?
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			
			
				B4X:
			
		
		
		Sub MapFragment1_Ready
    Sleep(500)
    Log("MapFragment1_Ready")
    Log(MapFragment1.GetOpenSourceLicenseInfo)
    
    gmap = MapFragment1.GetMap
    gmap.MapType = gmap.MAP_TYPE_NORMAL
    
    If  gmap.IsInitialized = False Then
        ToastMessageShow("Error initializing map.", True)
    Else
        cpLat = 3.3205
        cpLong = 101.5759
    
        Dim m1 As Marker = gmap.AddMarker(cpLat, cpLong, JobMain.JobAddress) 'destination location
        m1.Snippet = Main.jobs.record.TransID
        
    '    Dim line As Polyline
    '    Dim points As List
    '    Dim point As LatLng
    '    line=gmap.AddPolyline
    '    points.Initialize
        
    '    line.color=Colors.Black
    '    line.Geodesic=True
    '    line.Visible =True
    '    line.Width=2
        Dim m2 As Marker = gmap.AddMarker(GPSModule.latitude,GPSModule.longitude, "You Are Here") 'current location
        m2.Snippet = "Current Location"
        Dim cp As CameraPosition
        cp.Initialize(GPSModule.latitude,GPSModule.longitude, gmap.CameraPosition.Zoom)
        gmap.AnimateCamera(cp)
    End If
End Sub 
				 
 
		 
 
		 
						
					 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		