LogoWidget

class LogoWidget(context: Context, position: WidgetPosition = WidgetPosition( horizontal = WidgetPosition.Horizontal.LEFT, vertical = WidgetPosition.Vertical.BOTTOM, ), marginX: Float = 20.0f, marginY: Float = 20.0f) : BitmapWidget

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

marginX

horizontal margin in pixels

marginY

vertical margin in pixels

Constructors

Link copied to clipboard
fun LogoWidget(context: Context, position: WidgetPosition = WidgetPosition( horizontal = WidgetPosition.Horizontal.LEFT, vertical = WidgetPosition.Vertical.BOTTOM, ), marginX: Float = 20.0f, marginY: Float = 20.0f)

Functions

Link copied to clipboard
open override fun getPosition(): WidgetPosition
Link copied to clipboard
open override fun getRotation(): Float
Link copied to clipboard
open override fun setPosition(widgetPosition: WidgetPosition)
Link copied to clipboard
open override fun setRotation(angleDegrees: Float)
Link copied to clipboard
fun updateBitmap(bitmap: Bitmap)