MapView

fun MapView(context: Context, mapInitOptions: MapInitOptions = MapInitOptions(context))

Build a MapView with Context and MapInitOptions objects.

fun MapView(context: Context, attrs: AttributeSet?)

Build a MapView with Context and AttributeSet objects.

fun MapView(context: Context, attrs: AttributeSet?, defStyleAttr: Int)

Build a MapView with a Context object, a AttributeSet object, and an Int which represents a style resource file.