Package com. mapbox. maps
Types
Mapbox exception class flagging annotation plugin related RuntimeException did occur.
Mapbox exception class flagging camera animation plugin related RuntimeException did occur.
Mapbox exception thrown when any collection used to build GeoJson data is mutated.
A MapboxConfigurationException is thrown by MapboxMap when the SDK hasn't been properly initialised.
Annotation class to mark API as experimental.
Unified Mapbox SDKs initializer class that catches exceptions to avoid crashing during app process start.
MapboxLifecycleObserver interface defines the lifecycle events that needed by MapView.
Mapbox exception class flagging location component plugin related RuntimeException did occur.
The general class to interact with in the Mapbox Maps SDK for Android. It exposes the entry point for all methods related to the Map object. You cannot instantiate MapboxMap object directly, rather, you must obtain one from the getMapboxMap() method MapView that you have added to your application.
Mapbox exception class flagging map related RuntimeException did occur.
Mapbox exception class flagging style extension related RuntimeException did occur.
Mapbox exception class flagging view annotation related RuntimeException did occur.
MapControllable interface is the gateway for public API to talk to the internal map controller.
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.
A MapSurface 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.
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.
Convenience class that manages a global ResourceOptions
It's possible to create ResourceOptionsManager
instances as you need them, however it's convenient to use the default object (default
).
Interface for getting snapshot when it's finished.
Data class to config the overlays on the snapshotter
Interface for getting all style related events for snapshotter.
Snapshotter is high-level component responsible for taking map snapshot with given MapSnapshotOptions.
The general class to interact with Styles in the Modular Mapbox Maps SDK for Android. It exposes the entry point for all methods related to the Style. You cannot instantiate Style object directly, rather, you must obtain one from the getStyle(onStyleLoaded) method on MapboxMap.
Functions
Get a default MapOptions.Builder with reasterization mode GlyphsRasterizationMode#ALL_GLYPHS_RASTERIZED_LOCALLY
Get a default ResourceOptions.Builder with Mapbox pre-defined options, and with the access token taken from the Android resources(if available).
Log Android debug entry in the following format: D/Mapbox: [SDK_IDENTIFIER]\ [tag]
Log Android error entry in the following format: E/Mapbox: [SDK_IDENTIFIER]\ [tag]
Log Android info entry in the following format: I/Mapbox: [SDK_IDENTIFIER]\ [tag]
Log Android warning entry in the following format: W/Mapbox: [SDK_IDENTIFIER]\ [tag]
Set render cache size to 0MB in order to disable it.
Set render cache size to large(128MB).
Set render cache size to small(64MB).
Extension function to convert CameraState to CameraOptions.