Logo Widget
class LogoWidget(context: Context, position: WidgetPosition, marginX: Float, marginY: Float) : BitmapWidget
Content copied to clipboard
Widget shows compass. Positioned in the bottom left corner by default.
Note: This feature is only available for Android Maps SDK v10.4.0 and above
Since
Maps SDK v10.4.0
Parameters
position
position of logo
margin X
horizontal margin in pixels
margin Y
vertical margin in pixels
Constructors
LogoWidget
Link copied to clipboard
fun LogoWidget(context: Context, position: WidgetPosition = WidgetPosition(
horizontal = WidgetPosition.Horizontal.LEFT,
vertical = WidgetPosition.Vertical.BOTTOM,
), marginX: Float = 20f, marginY: Float = 20f)
Content copied to clipboard
Functions
set Rotation
Link copied to clipboard
set Translation
Link copied to clipboard
open override fun setTranslation(translationX: Float, translationY: Float)
Content copied to clipboard
update Bitmap
Link copied to clipboard