Map View
A MapView provides an embeddable map interface. You use this class to display map information and to manipulate the map contents from your application. You can center the map on a given coordinate, specify the size of the area you want to display, and style the features of the map to fit your application's use case.
Use of MapView requires a Mapbox API access token. Obtain an access token on the Mapbox account page.
<strong>Warning:</strong> Please note that you are responsible for getting permission to use the map data, and for ensuring your use adheres to the relevant terms of use.
Constructors
Build a MapView with Context and MapboxMapOptions objects.
Build a MapView with Context and AttributeSet objects.
Build a MapView with a Context object, a AttributeSet object, and an Int which represents a style resource file.
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.
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.