Hello there!
I can see the map in my app.
I can see the marker with the "Hello!!!"
But... I can't see the polyline.
What could be happening?
Thanks in advance for your responses.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			I can see the map in my app.
I can see the marker with the "Hello!!!"
But... I can't see the polyline.
What could be happening?
Thanks in advance for your responses.
			
				B4X:
			
		
		
		Sub Map_Ready
  Log("map ready")
  gmap = mFragment.GetMap
  If gmap.IsInitialized = False Then
      ToastMessageShow("Error initializing map.", True)
  Else
      gmap.AddMarker(36, 15, "Hello!!!")
      Dim line As Polyline
      Dim points As List
      Dim point As LatLng 
      Dim color() As Int
      linea=gmap.AddPolyline
      points.Initialize
     
      'color=
      line.color=Array As Int(255,255,255)
      line.Geodesic=True
      line.Visible =True
      line.Width=2
      'line.ZIndex=0
      point.Initialize(37.772323, -122.214897)
      points.Add(point)
      point.Initialize(21.291982, -157.821856)
      points.Add(point)
      point.Initialize(-18.142599, 178.431)
      points.Add(point)
      point.Initialize(-27.46758, 153.027892)
      points.Add(point)
      line.Points=points
      Dim cp As CameraPosition
      cp.Initialize(36, 15, gmap.CameraPosition.Zoom)
      gmap.AnimateCamera(cp)
  End If
End Sub 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		