Map Init Options
data class MapInitOptions @JvmOverloads() constructor(context: Context, resourceOptions: ResourceOptions, mapOptions: MapOptions, plugins: List<Plugin>, cameraOptions: CameraOptions?, textureView: Boolean, styleUri: String?, attrs: AttributeSet?, antialiasingSampleCount: Int)
Content copied to clipboard
Defines configuration MapInitOptions for a MapboxMap. These options can be used when adding a map to your application programmatically (as opposed to via XML). If you are using a MapFragment, you can pass these options in using the static factory method newInstance(MapboxMapOptions). If you are using a MapView, you can pass these options in using the constructor MapView(Context, MapboxMapOptions). If you add a map using XML, then you can apply these options using custom XML tags.
Constructors
MapInitOptions
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Types
Properties
antialiasingSampleCount
Link copied to clipboard
attrs
Link copied to clipboard
The AttributeSet object that init the MapView.
cameraOptions
Link copied to clipboard
mapOptions
Link copied to clipboard
resourceOptions
Link copied to clipboard
textureView
Link copied to clipboard