Hi to all.
my problem is to understand well the behavious of Markers (and polylines) added to a GoogleMaps map. What seems to me, is that, after adding, for example, a marker to the GoogleMaps Map, there is no way to retrieve it from the map and modify its properties. My problem is to hide the InfoWindow after having created the Markers. For example, I have map named Punti, containing objects to create the markers. The following code, which seemed me correct, doesn't work:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Also this variant, based on another post on this subject, doesn't work:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Does anybody have any hint?
Thanks in advance
			
			my problem is to understand well the behavious of Markers (and polylines) added to a GoogleMaps map. What seems to me, is that, after adding, for example, a marker to the GoogleMaps Map, there is no way to retrieve it from the map and modify its properties. My problem is to hide the InfoWindow after having created the Markers. For example, I have map named Punti, containing objects to create the markers. The following code, which seemed me correct, doesn't work:
			
				B4X:
			
		
		
		                   Dim gmap as GoogleMaps
                   Dim Punti as Map
                   Dim M as Marker
                   ... code to populate the Punti with data
                   For i=0 To Punti.Size-1
                   Pun=Punti.GetValueAt(i) ' Pun is an Object with Name,Latitude,Longitude
                   M= gmap.AddMarker3(Pun.Latitude, Pun.Longitude, Pun.Name)
                   M.InfoWindowShown=False 
                NextAlso this variant, based on another post on this subject, doesn't work:
			
				B4X:
			
		
		
		                   Dim gmap as GoogleMaps
                   Dim Punti as Map
                   Dim Markers as List
                   ... code to populate the Punti with data
                   Markers.Initialize
                   For i=0 To Punti.Size-1
                      Pun=Punti.GetValueAt(i) ' Pun is an Object with Name,Latitude,Longitude
                      Markers.Add(gmap.AddMarker3(Pun.Latitude, Pun.Longitude, Pun.Name))
                    Next
                    ForEach m as Marker in Markers
                         m.InfoWindowShown=False
                    nextDoes anybody have any hint?
Thanks in advance
 
				 
 
		 
 
		 
						
					 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		