Hi All
I am unable to rotate a marker after it has been added
Here is the code I am using
if I move .Rotate above AddMarker the marker rotates properly, however my goal is to rotate markers after they have been added
Can you please let me know what is wrong with the above code
Thanks in advance
I am unable to rotate a marker after it has been added
Here is the code I am using
B4X:
MarkerOptions1.Initialize
MarkerOptions1.Flat(True)
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 = GoogleMapsExtras1.AddMarker(gmap, MarkerOptions1)
'This line doesn't work.
MarkerOptions1.Rotate(90)
if I move .Rotate above AddMarker the marker rotates properly, however my goal is to rotate markers after they have been added
Can you please let me know what is wrong with the above code
Thanks in advance