MapView

Build a MapView with Context and MapboxMapOptions objects.

fun MapView(context: Context, mapboxMapOptions: MapboxMapOptions)

Build a MapView with a Context object.

fun MapView(context: Context)

Build a MapView with Context and AttributeSet objects.

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

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

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

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

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

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

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