Package com.mapbox.maps

Types

AsyncOperationResultCallback
Link copied to clipboard
interface AsyncOperationResultCallback
interface AsyncOperationResultCallback
interface AsyncOperationResultCallback
Callback invoked once an asynchronous operation completes.
AsyncOperationResultCallbackNative
Link copied to clipboard
Callback invoked once an asynchronous operation completes.
CameraBounds
Link copied to clipboard
class CameraBounds : Serializable
class CameraBounds : Serializable
class CameraBounds : Serializable
Holds information about `camera bounds`.
CameraBoundsOptions
Link copied to clipboard
open class CameraBoundsOptions : Serializable
open class CameraBoundsOptions : Serializable
open class CameraBoundsOptions : Serializable
Holds options to be used for setting `camera bounds`.
CameraManager
Link copied to clipboard
open class CameraManager : StyleManager, CameraManagerInterface
open class CameraManager : StyleManager, CameraManagerInterface
open class CameraManager : StyleManager, CameraManagerInterface
Interface for managing camera.
CameraManagerInterface
Link copied to clipboard
interface CameraManagerInterface : StyleManagerInterface
interface CameraManagerInterface : StyleManagerInterface
interface CameraManagerInterface : StyleManagerInterface
Interface for managing camera.
CameraOptions
Link copied to clipboard
class CameraOptions : Serializable
class CameraOptions : Serializable
class CameraOptions : Serializable
Various options for describing the viewpoint of a camera.
CameraState
Link copied to clipboard
class CameraState : Serializable
class CameraState : Serializable
class CameraState : Serializable
Describes the viewpoint of a camera.
CancelTileFunctionCallback
Link copied to clipboard
interface CancelTileFunctionCallback
interface CancelTileFunctionCallback
interface CancelTileFunctionCallback
Callback to cancel a tile.
CancelTileFunctionCallbackNative
Link copied to clipboard
Callback to cancel a tile.
CanonicalTileID
Link copied to clipboard
class CanonicalTileID : Serializable
class CanonicalTileID : Serializable
class CanonicalTileID : Serializable
Represents a tile coordinate.
ConstrainMode
Link copied to clipboard
enum ConstrainMode
enum ConstrainMode
enum ConstrainMode
Describes whether to constrain the map in both axes or only vertically e.g.
ContextMode
Link copied to clipboard
enum ContextMode
enum ContextMode
enum ContextMode
Describes the map context mode.
CoordinateBounds
Link copied to clipboard
open class CoordinateBounds : Serializable
open class CoordinateBounds : Serializable
open class CoordinateBounds : Serializable
A rectangular area as measured on a two-dimensional map projection.
CoordinateBoundsZoom
Link copied to clipboard
class CoordinateBoundsZoom : Serializable
class CoordinateBoundsZoom : Serializable
class CoordinateBoundsZoom : Serializable
A coordinate bounds and zoom.
CustomGeometrySourceOptions
Link copied to clipboard
class CustomGeometrySourceOptions : Serializable
class CustomGeometrySourceOptions : Serializable
class CustomGeometrySourceOptions : Serializable
Options for custom geometry source.
CustomLayerHost
Link copied to clipboard
interface CustomLayerHost
interface CustomLayerHost
interface CustomLayerHost
Interface for hosting a custom map style layer.
CustomLayerHostNative
Link copied to clipboard
class CustomLayerHostNative : CustomLayerHost
class CustomLayerHostNative : CustomLayerHost
class CustomLayerHostNative : CustomLayerHost
Interface for hosting a custom map style layer.
CustomLayerRenderParameters
Link copied to clipboard
class CustomLayerRenderParameters : Serializable
class CustomLayerRenderParameters : Serializable
class CustomLayerRenderParameters : Serializable
Parameters that define the current camera position for a `CustomLayerHost::render()` function.
EdgeInsets
Link copied to clipboard
class EdgeInsets : Serializable
class EdgeInsets : Serializable
class EdgeInsets : Serializable
The distance on each side between rectangles, when one is contained into other.
ElevationData
Link copied to clipboard
interface ElevationData
interface ElevationData
interface ElevationData
Interface that provides access to elevation data.
ElevationDataNative
Link copied to clipboard
class ElevationDataNative : ElevationData
class ElevationDataNative : ElevationData
class ElevationDataNative : ElevationData
Interface that provides access to elevation data.
Event
Link copied to clipboard
class Event : Serializable
class Event : Serializable
class Event : Serializable
Generic Event type used to notify an `observer`.
FeatureExtensionValue
Link copied to clipboard
class FeatureExtensionValue : Serializable
class FeatureExtensionValue : Serializable
class FeatureExtensionValue : Serializable
A value or a collection of a feature extension.
FetchTileFunctionCallback
Link copied to clipboard
interface FetchTileFunctionCallback
interface FetchTileFunctionCallback
interface FetchTileFunctionCallback
Callback to create data for tile.
FetchTileFunctionCallbackNative
Link copied to clipboard
class FetchTileFunctionCallbackNative : FetchTileFunctionCallback
class FetchTileFunctionCallbackNative : FetchTileFunctionCallback
class FetchTileFunctionCallbackNative : FetchTileFunctionCallback
Callback to create data for tile.
FreeCameraOptions
Link copied to clipboard
class FreeCameraOptions
class FreeCameraOptions
class FreeCameraOptions
Various options for accessing physical properties of the underlying camera entity.
GlyphsRasterizationMode
Link copied to clipboard
enum GlyphsRasterizationMode
enum GlyphsRasterizationMode
enum GlyphsRasterizationMode
Describes glyphs rasterization modes.
GlyphsRasterizationOptions
Link copied to clipboard
class GlyphsRasterizationOptions : Serializable
class GlyphsRasterizationOptions : Serializable
class GlyphsRasterizationOptions : Serializable
Describes the glyphs rasterization option values.
Image
Link copied to clipboard
class Image : Serializable
class Image : Serializable
class Image : Serializable
Image type.
ImageContent
Link copied to clipboard
class ImageContent : Serializable
class ImageContent : Serializable
class ImageContent : Serializable
Describes the image content, e.g.
ImageStretches
Link copied to clipboard
class ImageStretches : Serializable
class ImageStretches : Serializable
class ImageStretches : Serializable
Describes the image stretch areas.
LayerPosition
Link copied to clipboard
class LayerPosition : Serializable
class LayerPosition : Serializable
class LayerPosition : Serializable
Specifies position of a layer that is added via addStyleLayer method.
Map
Link copied to clipboard
class Map : CameraManager, MapInterface
class Map : CameraManager, MapInterface
class Map : CameraManager, MapInterface
Map class provides map rendering functionality.
MapboxConfigurationException
Link copied to clipboard
class MapboxConfigurationException : RuntimeException
A MapboxConfigurationException is thrown by MapboxMap when the SDK hasn't been properly initialised.
MapboxExperimental
Link copied to clipboard
annotation class MapboxExperimental
Annotation class to mark API as experimental.
MapboxLifecycleObserver
Link copied to clipboard
interface MapboxLifecycleObserver
MapboxLifecycleObserver interface defines the lifecycle events that needed by MapView.
MapboxMap
Link copied to clipboard
The general class to interact with in the Mapbox Maps SDK for Android.
MapClient
Link copied to clipboard
interface MapClient
interface MapClient
interface MapClient
MapClientNative
Link copied to clipboard
class MapClientNative : MapClient
class MapClientNative : MapClient
class MapClientNative : MapClient
MapConstants
Link copied to clipboard
class MapConstants
class MapConstants
class MapConstants
Collection of useful constants.
MapControllable
Link copied to clipboard
interface MapControllable : MapboxLifecycleObserver
MapControllable interface is the gateway for public API to talk to the internal map controller.
MapDebugOptions
Link copied to clipboard
enum MapDebugOptions
enum MapDebugOptions
enum MapDebugOptions
Options for enabling debugging features in a map.
MapEvents
Link copied to clipboard
class MapEvents
class MapEvents
class MapEvents
List of supported event types by the `map` and `map snapshotter` objects, and event data format specification for each event.
MapInitOptions
Link copied to clipboard
data class MapInitOptions @JvmOverloads() constructor(context: Context, resourceOptions: ResourceOptions, mapOptions: MapOptions, plugins: List<Plugin>, cameraOptions: CameraOptions?, textureView: Boolean, styleUri: String?, attrs: AttributeSet?, antialiasingSampleCount: Int)
Defines configuration MapInitOptions for a MapboxMap.
MapInterface
Link copied to clipboard
interface MapInterface : CameraManagerInterface
interface MapInterface : CameraManagerInterface
interface MapInterface : CameraManagerInterface
Map class provides map rendering functionality.
MapMemoryBudget
Link copied to clipboard
open class MapMemoryBudget
open class MapMemoryBudget
open class MapMemoryBudget
MapMemoryBudgetInMegabytes
Link copied to clipboard
open class MapMemoryBudgetInMegabytes : Serializable
open class MapMemoryBudgetInMegabytes : Serializable
open class MapMemoryBudgetInMegabytes : Serializable
Map memory budget in megabytes.
MapMemoryBudgetInTiles
Link copied to clipboard
open class MapMemoryBudgetInTiles : Serializable
open class MapMemoryBudgetInTiles : Serializable
open class MapMemoryBudgetInTiles : Serializable
Map memory budget in tiles.
MapOptions
Link copied to clipboard
class MapOptions : Serializable
class MapOptions : Serializable
class MapOptions : Serializable
Describes the map option values.
MapSnapshot
Link copied to clipboard
class MapSnapshot : MapSnapshotInterface
class MapSnapshot : MapSnapshotInterface
class MapSnapshot : MapSnapshotInterface
An image snapshot of a map rendered by `map snapshotter`.
MapSnapshotInterface
Link copied to clipboard
interface MapSnapshotInterface
interface MapSnapshotInterface
interface MapSnapshotInterface
An image snapshot of a map rendered by `map snapshotter`.
MapSnapshotOptions
Link copied to clipboard
class MapSnapshotOptions : Serializable
class MapSnapshotOptions : Serializable
class MapSnapshotOptions : Serializable
Set of options for taking map snapshot with `map snapshotter`.
MapSnapshotter
Link copied to clipboard
class MapSnapshotter : CameraManager, MapSnapshotterInterface
class MapSnapshotter : CameraManager, MapSnapshotterInterface
class MapSnapshotter : CameraManager, MapSnapshotterInterface
MapSnapshotter exposes functionality to capture static map images.
MapSnapshotterInterface
Link copied to clipboard
interface MapSnapshotterInterface : CameraManagerInterface
interface MapSnapshotterInterface : CameraManagerInterface
interface MapSnapshotterInterface : CameraManagerInterface
MapSnapshotter exposes functionality to capture static map images.
MapSurface
Link copied to clipboard
class MapSurface @JvmOverloads() constructor(context: Context, surface: Surface, mapInitOptions: MapInitOptions) : MapPluginProviderDelegate, MapControllable
A MapSurface provides an embeddable map interface.
MapView
Link copied to clipboard
open class MapView : FrameLayout, MapPluginProviderDelegate, MapControllable
A MapView provides an embeddable map interface.
MercatorCoordinate
Link copied to clipboard
class MercatorCoordinate : Serializable
class MercatorCoordinate : Serializable
class MercatorCoordinate : Serializable
Describes a point on the map in Mercator projection.
NorthOrientation
Link copied to clipboard
enum NorthOrientation
enum NorthOrientation
enum NorthOrientation
Describes the map orientation.
Observable
Link copied to clipboard
open class Observable : ObservableInterface
open class Observable : ObservableInterface
open class Observable : ObservableInterface
The `observable` interface provides basic Publish&Subscribe functionality.
ObservableInterface
Link copied to clipboard
interface ObservableInterface
interface ObservableInterface
interface ObservableInterface
The `observable` interface provides basic Publish&Subscribe functionality.
Observer
Link copied to clipboard
interface Observer
interface Observer
interface Observer
An `observer` interface used to subscribe for an `observable` events.
ObserverNative
Link copied to clipboard
class ObserverNative : Observer
class ObserverNative : Observer
class ObserverNative : Observer
An `observer` interface used to subscribe for an `observable` events.
OfflineDatabaseMergeCallback
Link copied to clipboard
interface OfflineDatabaseMergeCallback
interface OfflineDatabaseMergeCallback
interface OfflineDatabaseMergeCallback
Callback invoked when a sideloaded database has been merged into the main offline database.
OfflineDatabaseMergeCallbackNative
Link copied to clipboard
Callback invoked when a sideloaded database has been merged into the main offline database.
OfflineManager
Link copied to clipboard
class OfflineManager : OfflineManagerInterface
class OfflineManager : OfflineManagerInterface
class OfflineManager : OfflineManagerInterface
An `offline manager` manages downloads and storage for style packages and also produces tileset descriptors for the `tile store`.
OfflineManagerInterface
Link copied to clipboard
interface OfflineManagerInterface
interface OfflineManagerInterface
interface OfflineManagerInterface
An `offline manager` manages downloads and storage for style packages and also produces tileset descriptors for the `tile store`.
OfflineRegion
Link copied to clipboard
class OfflineRegion : OfflineRegionInterface
class OfflineRegion : OfflineRegionInterface
class OfflineRegion : OfflineRegionInterface
An offline region represents an identifiable geographic region with optional metadata.
OfflineRegionCallback
Link copied to clipboard
interface OfflineRegionCallback
interface OfflineRegionCallback
interface OfflineRegionCallback
Callback invoked when fetching existing regions.
OfflineRegionCallbackNative
Link copied to clipboard
class OfflineRegionCallbackNative : OfflineRegionCallback
class OfflineRegionCallbackNative : OfflineRegionCallback
class OfflineRegionCallbackNative : OfflineRegionCallback
Callback invoked when fetching existing regions.
OfflineRegionCreateCallback
Link copied to clipboard
interface OfflineRegionCreateCallback
interface OfflineRegionCreateCallback
interface OfflineRegionCreateCallback
Callback invoked when creating a new region.
OfflineRegionCreateCallbackNative
Link copied to clipboard
Callback invoked when creating a new region.
OfflineRegionDownloadState
Link copied to clipboard
enum OfflineRegionDownloadState
enum OfflineRegionDownloadState
enum OfflineRegionDownloadState
Describes the download state of a region.
OfflineRegionGeometryDefinition
Link copied to clipboard
class OfflineRegionGeometryDefinition : Serializable
class OfflineRegionGeometryDefinition : Serializable
class OfflineRegionGeometryDefinition : Serializable
An offline region definition is a geographic region defined by a style URL, a geometry, zoom range, and device pixel ratio.
OfflineRegionInterface
Link copied to clipboard
interface OfflineRegionInterface
interface OfflineRegionInterface
interface OfflineRegionInterface
An offline region represents an identifiable geographic region with optional metadata.
OfflineRegionManager
Link copied to clipboard
class OfflineRegionManager : OfflineRegionManagerInterface
class OfflineRegionManager : OfflineRegionManagerInterface
class OfflineRegionManager : OfflineRegionManagerInterface
The `offline region manager` that manages offline packs.
OfflineRegionManagerInterface
Link copied to clipboard
interface OfflineRegionManagerInterface
interface OfflineRegionManagerInterface
interface OfflineRegionManagerInterface
The `offline region manager` that manages offline packs.
OfflineRegionObserver
Link copied to clipboard
interface OfflineRegionObserver
interface OfflineRegionObserver
interface OfflineRegionObserver
A region can have a single observer, which gets notified whenever a change to the region's status occurs.
OfflineRegionObserverNative
Link copied to clipboard
class OfflineRegionObserverNative : OfflineRegionObserver
class OfflineRegionObserverNative : OfflineRegionObserver
class OfflineRegionObserverNative : OfflineRegionObserver
A region can have a single observer, which gets notified whenever a change to the region's status occurs.
OfflineRegionStatus
Link copied to clipboard
class OfflineRegionStatus : Serializable
class OfflineRegionStatus : Serializable
class OfflineRegionStatus : Serializable
A region's status includes its active/inactive state as well as counts of the number of resources that have completed downloading, their total size in bytes, and the total number of resources that are required.
OfflineRegionTilePyramidDefinition
Link copied to clipboard
class OfflineRegionTilePyramidDefinition : Serializable
class OfflineRegionTilePyramidDefinition : Serializable
class OfflineRegionTilePyramidDefinition : Serializable
An offline region definition is a geographic region defined by a style URL, geographic bounding box, zoom range, and device pixel ratio.
ProjectedMeters
Link copied to clipboard
class ProjectedMeters : Serializable
class ProjectedMeters : Serializable
class ProjectedMeters : Serializable
ProjectedMeters is a coordinate in a specific [Spherical Mercator](http://docs.openlayers.org/library/spherical_mercator.html) projection.
Projection
Link copied to clipboard
class Projection
class Projection
class Projection
Collection of [Spherical Mercator](http://docs.openlayers.org/library/spherical_mercator.html) projection methods.
QueriedFeature
Link copied to clipboard
class QueriedFeature : Serializable
class QueriedFeature : Serializable
class QueriedFeature : Serializable
Represents query result that is returned in QueryFeaturesCallback.
QueryFeatureExtensionCallback
Link copied to clipboard
interface QueryFeatureExtensionCallback
interface QueryFeatureExtensionCallback
interface QueryFeatureExtensionCallback
Callback to get query feature extension asynchronously.
QueryFeatureExtensionCallbackNative
Link copied to clipboard
Callback to get query feature extension asynchronously.
QueryFeaturesCallback
Link copied to clipboard
interface QueryFeaturesCallback
interface QueryFeaturesCallback
interface QueryFeaturesCallback
Callback to get query features asynchronously.
QueryFeaturesCallbackNative
Link copied to clipboard
class QueryFeaturesCallbackNative : QueryFeaturesCallback
class QueryFeaturesCallbackNative : QueryFeaturesCallback
class QueryFeaturesCallbackNative : QueryFeaturesCallback
Callback to get query features asynchronously.
QueryFeatureStateCallback
Link copied to clipboard
interface QueryFeatureStateCallback
interface QueryFeatureStateCallback
interface QueryFeatureStateCallback
Callback to get query features asynchronously.
QueryFeatureStateCallbackNative
Link copied to clipboard
class QueryFeatureStateCallbackNative : QueryFeatureStateCallback
class QueryFeatureStateCallbackNative : QueryFeatureStateCallback
class QueryFeatureStateCallbackNative : QueryFeatureStateCallback
Callback to get query features asynchronously.
RenderCacheOptions
Link copied to clipboard
class RenderCacheOptions : Serializable
class RenderCacheOptions : Serializable
class RenderCacheOptions : Serializable
Parameters that defines behavior of the render cache.
RenderedQueryGeometry
Link copied to clipboard
open class RenderedQueryGeometry
open class RenderedQueryGeometry
open class RenderedQueryGeometry
Geometry for querying rendered features.
RenderedQueryOptions
Link copied to clipboard
class RenderedQueryOptions : Serializable
class RenderedQueryOptions : Serializable
class RenderedQueryOptions : Serializable
Options for querying rendered features.
ResourceOptions
Link copied to clipboard
class ResourceOptions : Serializable
class ResourceOptions : Serializable
class ResourceOptions : Serializable
Options to configure a resource
ResourceOptionsManager
Link copied to clipboard
data class ResourceOptionsManager(resourceOptions: ResourceOptions)
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).
ResponseError
Link copied to clipboard
class ResponseError : Serializable
class ResponseError : Serializable
class ResponseError : Serializable
Describes an offline request response error.
ResponseErrorReason
Link copied to clipboard
enum ResponseErrorReason
enum ResponseErrorReason
enum ResponseErrorReason
Describes the reason for an offline request response error.
ScreenBox
Link copied to clipboard
class ScreenBox : Serializable
class ScreenBox : Serializable
class ScreenBox : Serializable
Describes the coordinate box on the screen, measured in `platform pixels` from top to bottom and from left to right.
ScreenCoordinate
Link copied to clipboard
class ScreenCoordinate : Serializable
class ScreenCoordinate : Serializable
class ScreenCoordinate : Serializable
Describes the coordinate on the screen, measured from top to bottom and from left to right.
Settings
Link copied to clipboard
class Settings
class Settings
class Settings
Settings class provides non-persistent, in-process key-value storage.
Size
Link copied to clipboard
class Size : Serializable
class Size : Serializable
class Size : Serializable
Size type.
SnapshotCompleteCallback
Link copied to clipboard
interface SnapshotCompleteCallback
interface SnapshotCompleteCallback
interface SnapshotCompleteCallback
Callback invoked once a snapshot operation completes.
SnapshotCompleteCallbackNative
Link copied to clipboard
class SnapshotCompleteCallbackNative : SnapshotCompleteCallback
class SnapshotCompleteCallbackNative : SnapshotCompleteCallback
class SnapshotCompleteCallbackNative : SnapshotCompleteCallback
Callback invoked once a snapshot operation completes.
SnapshotCreatedListener
Link copied to clipboard
fun fun interface SnapshotCreatedListener
Interface for getting snapshot when it's finished.
SnapshotOverlayOptions
Link copied to clipboard
data class SnapshotOverlayOptions @JvmOverloads() constructor(showLogo: Boolean, showAttributes: Boolean)
Data class to config the overlays on the snapshotter
SnapshotStyleListener
Link copied to clipboard
interface SnapshotStyleListener
Interface for getting all style related events for snapshotter.
Snapshotter
Link copied to clipboard
open class Snapshotter
Snapshotter is high-level component responsible for taking map snapshot with given MapSnapshotOptions.
SourceQueryOptions
Link copied to clipboard
class SourceQueryOptions : Serializable
class SourceQueryOptions : Serializable
class SourceQueryOptions : Serializable
Options for querying source features.
Style
Link copied to clipboard
class Style : StyleInterface
The general class to interact with Styles in the Modular Mapbox Maps SDK for Android.
StyleManager
Link copied to clipboard
open class StyleManager : Observable, StyleManagerInterface
open class StyleManager : Observable, StyleManagerInterface
open class StyleManager : Observable, StyleManagerInterface
Interface for managing style of the `map`.
StyleManagerInterface
Link copied to clipboard
interface StyleManagerInterface : ObservableInterface
interface StyleManagerInterface : ObservableInterface
interface StyleManagerInterface : ObservableInterface
Interface for managing style of the `map`.
StyleObjectInfo
Link copied to clipboard
class StyleObjectInfo : Serializable
class StyleObjectInfo : Serializable
class StyleObjectInfo : Serializable
The information about style object (source or layer).
StylePack
Link copied to clipboard
class StylePack : Serializable
class StylePack : Serializable
class StylePack : Serializable
The `style pack` represents a stored style package.
StylePackCallback
Link copied to clipboard
interface StylePackCallback
interface StylePackCallback
interface StylePackCallback
Callback invoked when returning a style package.
StylePackCallbackNative
Link copied to clipboard
class StylePackCallbackNative : StylePackCallback
class StylePackCallbackNative : StylePackCallback
class StylePackCallbackNative : StylePackCallback
Callback invoked when returning a style package.
StylePackError
Link copied to clipboard
open class StylePackError : Serializable
open class StylePackError : Serializable
open class StylePackError : Serializable
Describes a style package load request error.
StylePackErrorType
Link copied to clipboard
enum StylePackErrorType
enum StylePackErrorType
enum StylePackErrorType
Describes the reason for a style package download request failure.
StylePackLoadOptions
Link copied to clipboard
class StylePackLoadOptions : Serializable
class StylePackLoadOptions : Serializable
class StylePackLoadOptions : Serializable
Describes the style package load option values.
StylePackLoadProgress
Link copied to clipboard
class StylePackLoadProgress : Serializable
class StylePackLoadProgress : Serializable
class StylePackLoadProgress : Serializable
A `style pack load` progress includes information about the number of resources that have completed downloading and the total number of resources that are required.
StylePackLoadProgressCallback
Link copied to clipboard
interface StylePackLoadProgressCallback
interface StylePackLoadProgressCallback
interface StylePackLoadProgressCallback
Callback Invoked to report the progess of the style package loading operation.
StylePackLoadProgressCallbackNative
Link copied to clipboard
Callback Invoked to report the progess of the style package loading operation.
StylePackMetadataCallback
Link copied to clipboard
interface StylePackMetadataCallback
interface StylePackMetadataCallback
interface StylePackMetadataCallback
Callback invoked to return a style package's associated metadata
StylePackMetadataCallbackNative
Link copied to clipboard
class StylePackMetadataCallbackNative : StylePackMetadataCallback
class StylePackMetadataCallbackNative : StylePackMetadataCallback
class StylePackMetadataCallbackNative : StylePackMetadataCallback
Callback invoked to return a style package's associated metadata
StylePacksCallback
Link copied to clipboard
interface StylePacksCallback
interface StylePacksCallback
interface StylePacksCallback
Callback invoked when returning existing style packages.
StylePacksCallbackNative
Link copied to clipboard
class StylePacksCallbackNative : StylePacksCallback
class StylePacksCallbackNative : StylePacksCallback
class StylePacksCallbackNative : StylePacksCallback
Callback invoked when returning existing style packages.
StylePropertyValue
Link copied to clipboard
class StylePropertyValue : Serializable
class StylePropertyValue : Serializable
class StylePropertyValue : Serializable
Holds a style property value with meta data.
StylePropertyValueKind
Link copied to clipboard
enum StylePropertyValueKind
enum StylePropertyValueKind
enum StylePropertyValueKind
Describes the kind of a style property value.
Task
Link copied to clipboard
interface Task
interface Task
interface Task
TaskNative
Link copied to clipboard
class TaskNative : Task
class TaskNative : Task
class TaskNative : Task
TileOptions
Link copied to clipboard
class TileOptions : Serializable
class TileOptions : Serializable
class TileOptions : Serializable
Options for custom geometry tiles.
TilesetDescriptorOptions
Link copied to clipboard
class TilesetDescriptorOptions : Serializable
class TilesetDescriptorOptions : Serializable
class TilesetDescriptorOptions : Serializable
Describes the style package load option values.
TileStoreUsageMode
Link copied to clipboard
enum TileStoreUsageMode
enum TileStoreUsageMode
enum TileStoreUsageMode
Describes tile store usage modes.
TransitionOptions
Link copied to clipboard
class TransitionOptions : Serializable
class TransitionOptions : Serializable
class TransitionOptions : Serializable
The `transition options` controls timing for the interpolation between a transitionable style property's previous value and new value.
Vec3
Link copied to clipboard
class Vec3 : Serializable
class Vec3 : Serializable
class Vec3 : Serializable
3 component vector.
Vec4
Link copied to clipboard
class Vec4 : Serializable
class Vec4 : Serializable
class Vec4 : Serializable
4 component vector.
ViewAnnotationAnchor
Link copied to clipboard
enum ViewAnnotationAnchor
enum ViewAnnotationAnchor
enum ViewAnnotationAnchor
Enum describing how to place view annotation relatively to geometry.
ViewAnnotationOptions
Link copied to clipboard
class ViewAnnotationOptions : Serializable
class ViewAnnotationOptions : Serializable
class ViewAnnotationOptions : Serializable
Various options needed for displaying view annotation.
ViewAnnotationPositionDescriptor
Link copied to clipboard
class ViewAnnotationPositionDescriptor : Serializable
class ViewAnnotationPositionDescriptor : Serializable
class ViewAnnotationPositionDescriptor : Serializable
Read-only data that is needed to correctly position the single view annotation on screen.
ViewAnnotationPositionsUpdateListener
Link copied to clipboard
interface ViewAnnotationPositionsUpdateListener
interface ViewAnnotationPositionsUpdateListener
interface ViewAnnotationPositionsUpdateListener
ViewportMode
Link copied to clipboard
enum ViewportMode
enum ViewportMode
enum ViewportMode
Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards.

Functions

applyDefaultParams
Link copied to clipboard
fun MapOptions.Builder.applyDefaultParams(context: Context): MapOptions.Builder
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).
bitmap
Link copied to clipboard
fun MapSnapshotInterface.bitmap(): Bitmap
Extension function to obtain Bitmap from snapshotter converted from Image.
setDisabled
Link copied to clipboard
Set render cache size to 0MB in order to disable it.
setLargeSize
Link copied to clipboard
Set render cache size to large(128MB).
setSmallSize
Link copied to clipboard
Set render cache size to small(64MB).
toCameraOptions
Link copied to clipboard
fun CameraState.toCameraOptions(anchor: ScreenCoordinate? = null): CameraOptions
Extension function to convert CameraState to CameraOptions.

Properties

MAPBOX_ACCESS_TOKEN_RESOURCE_NAME
Link copied to clipboard
const val MAPBOX_ACCESS_TOKEN_RESOURCE_NAME: String
Resource name used to lookup the Mapbox access token.
MAPBOX_LOCALE
Link copied to clipboard
val MAPBOX_LOCALE: Locale
Default Locale for data processing (ex: String.toLowerCase(com.mapbox.maps.