MapboxMapController

constructor(mapView: MapView, account: XweatherAccount)

MapboxMapController Constructor: mapview, account

Parameters

mapView

The view that contains the map from the activity.

account

Your XweatherAccount that contains your userID and userSecret.


constructor(mapView: MapView, baseContext: Context, account: XweatherAccount, lifecycleOwner: LifecycleOwner)

Deprecated

Please use MapboxMapController(mapView: MapView, account: XweatherAccount) instead.

Deprecated as of v1.1.0

Parameters

mapView

The view that contains the map from the activity.

baseContext

used by OpenGLES for drawing the layers.

account

Your XweatherAccount that contains your userID and userSecret.