DefaultSettingsProvider

Utility that provides the default values of the Settings for each plugin.

Functions

Link copied to clipboard

Create a LocationPuck2D instance with or without an arrow bearing image.

Link copied to clipboard
fun defaultAttributionSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): AttributionSettings

Create a default AttributionSettings.

Link copied to clipboard
fun defaultCompassSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): CompassSettings

Create a default CompassSettings.

Link copied to clipboard
fun defaultLocationComponentSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): LocationComponentSettings

Create a default LocationComponentSettings with 2D location puck.

Link copied to clipboard
fun defaultLogoSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): LogoSettings

Create a default LogoSettings.

Link copied to clipboard
fun defaultScaleBarSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): ScaleBarSettings

Create a default ScaleBarSettings.

Properties