Hi All
While trying to scale the Marker icon to look bigger on a tablet, I ran into an issue where the Marker icon look chopped ( only a small part of it shows ).
The code below shows the working code followed by the code that will cause the issue.
Can someone clarify please
Thanks in advance
While trying to scale the Marker icon to look bigger on a tablet, I ran into an issue where the Marker icon look chopped ( only a small part of it shows ).
The code below shows the working code followed by the code that will cause the issue.
B4X:
Dim BitmapDescriptor1 As BitmapDescriptor
Dim BitmapDescriptorFactory1 As BitmapDescriptorFactory
'This code works ok
BitmapDescriptor1=BitmapDescriptorFactory1.FromAsset(TLocalMarker.TMarkerSettings.IconFile)
MarkerOptions1.Icon(BitmapDescriptor1)
'This code shows chopped icons
'Dim bBitMap As Bitmap = LoadBitmap(File.DirAssets, TLocalMarker.TMarkerSettings.IconFile)
'BitmapDescriptor1=BitmapDescriptorFactory1.FromBitmap(bBitMap)
'MarkerOptions1.Icon(BitmapDescriptor1)
Can someone clarify please
Thanks in advance