Hi All
I need to be able to display labels ( or event better info window ) for all displayed markers separately or at the same time. Somehow I am having difficulties achieving the above.
I have a map that stores all the displayed markers and whatever additional necessary information needed.
So I do have a reference to all displayed markers. When I display the info window for one marker, the info window for the previous marker automatically closed. Just in case, to avoid any possible logical bugs I added the code to display info window for each marker as it is being created. The result is still the same.
Here is the code I am using
any ideas what I am doing wrong in here?
Thanks in advance
I need to be able to display labels ( or event better info window ) for all displayed markers separately or at the same time. Somehow I am having difficulties achieving the above.
I have a map that stores all the displayed markers and whatever additional necessary information needed.
So I do have a reference to all displayed markers. When I display the info window for one marker, the info window for the previous marker automatically closed. Just in case, to avoid any possible logical bugs I added the code to display info window for each marker as it is being created. The result is still the same.
Here is the code I am using
B4X:
Dim Marker1 As Marker
Dim MarkerOptions1 As Marker
Marker1.Initialize
MarkerOptions1.Initialize
MarkerOptions1.Position2(dbLat, dbLng).Snippet(Snippet).Title(Title).Visible(blnVisible)
Dim BitmapDescriptor1 As BitmapDescriptor
Dim BitmapDescriptorFactory1 As BitmapDescriptorFactory
BitmapDescriptor1=BitmapDescriptorFactory1.FromAsset(IconFile)
MarkerOptions1.Icon(BitmapDescriptor1)
Marker1 = GoogleMapsExtrasRef.AddMarker( GmapRef, MarkerOptions1)
Marker1.InfoWindowShown = True
any ideas what I am doing wrong in here?
Thanks in advance