default Compass Settings
fun defaultCompassSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): CompassSettings
Create a default CompassSettings.
Parameters
context
must be the context closest to the map view. This is specially important in dual display hardware. Otherwise, we might get the wrong pixel ratio.
pixel Ratio
the pixel ratio to be applied to the margins