Builder

class Builder

Composes and builds a LogoSettings object.

This is a concrete implementation of the builder design pattern.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard

Returns a LogoSettings reference to the object being constructed by the builder.

Link copied to clipboard

Setter for enabled: whether the logo is visible on the map. Default value: true.

Link copied to clipboard

Setter for marginBottom: defines the margin to the bottom that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard

Setter for marginLeft: defines the margin to the left that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard

Setter for marginRight: defines the margin to the right that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard

Setter for marginTop: defines the margin to the top that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard

Setter for position: defines where the logo is positioned on the map Default value: "bottom-left".

Properties

Link copied to clipboard
var enabled: Boolean = true

Whether the logo is visible on the map. Default value: true.

Link copied to clipboard
var marginBottom: Float = 4.0f

Defines the margin to the bottom that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard
var marginLeft: Float = 4.0f

Defines the margin to the left that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard
var marginRight: Float = 4.0f

Defines the margin to the right that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard
var marginTop: Float = 4.0f

Defines the margin to the top that the attribution icon honors. Default value: 4. This property is specified in pixels.

Link copied to clipboard

Defines where the logo is positioned on the map Default value: "bottom-left".