onCreate

open fun onCreate(savedInstanceState: Bundle, delegate: MapViewDelegate, mapboxStyleUrl: String)
open fun onCreate(savedInstanceState: Bundle, delegate: MapViewDelegate, mapboxStyleUrl: String, vmd: Map)

This method loads the MapView.

Parameters

savedInstanceState

The Bundle from Activity that will contain your MapView.

delegate

a MapViewDelegate to recieve callbacks on map events

mapboxStyleUrl

The url to a Mapbox style


open fun onCreate(savedInstanceState: Bundle, delegate: MapViewDelegate)

Loads mapview

Parameters

savedInstanceState

The Bundle from Activity that will contain your MapView.

delegate

a MapViewDelegate to receive callbacks on map events


open fun onCreate(savedInstanceState: Bundle, delegate: MapViewDelegate, vmd: Map)

Loads mapview

Parameters

savedInstanceState

The Bundle from Activity that will contain your MapView.

delegate

a MapViewDelegate to recieve callbacks on map events