Package-level declarations

Types

Link copied to clipboard
fun interface ContextBinder

Interface to bind a View and underlying context

Link copied to clipboard

Exception thrown when a plugin configuration is invalid.

Link copied to clipboard

Exception thrown when a ViewPlugin is loaded in a context that doesn't have a view hierarchy associated.

Link copied to clipboard
interface LifecyclePlugin

Interface for plugins interacting with the lifecycle of the hosting context.

Link copied to clipboard
sealed class LocationPuck : Parcelable

Sealed class representing a location-puck.

Link copied to clipboard
data class LocationPuck2D @JvmOverloads constructor(var topImage: ImageHolder? = null, var bearingImage: ImageHolder? = null, var shadowImage: ImageHolder? = null, var scaleExpression: String? = null, var opacity: Float = 1.0f) : LocationPuck

Definition of a location_puck_2_d.

Link copied to clipboard
data class LocationPuck3D @JvmOverloads constructor(var modelUri: String, var position: List<Float> = listOf(0f, 0f), var modelOpacity: Float = 1.0f, var modelScale: List<Float> = listOf(1f, 1f, 1f), var modelScaleExpression: String? = null, var modelTranslation: List<Float> = listOf(0f, 0f, 0f), var modelRotation: List<Float> = listOf(0f, 0f, 90f), var modelCastShadows: Boolean = true, var modelReceiveShadows: Boolean = true, var modelScaleMode: ModelScaleMode = ModelScaleMode.VIEWPORT, var modelEmissiveStrength: Float = 1.0f, var modelEmissiveStrengthExpression: String? = null, var modelOpacityExpression: String? = null, var modelRotationExpression: String? = null, var modelColor: Int = Color.parseColor("#ffffff"), var modelColorExpression: String? = null, var modelColorMixIntensity: Float = 0.0f, var modelColorMixIntensityExpression: String? = null, var materialOverrides: List<String> = emptyList(), var nodeOverrides: List<String> = emptyList()) : LocationPuck

Definition of a location_puck_3_d.

Link copied to clipboard
fun interface MapCameraPlugin : MapPlugin

Definition for map camera plugins. The map will constantly push current camera position values.

Link copied to clipboard
interface MapPlugin

Parent definition of all Map plugins.

Link copied to clipboard
interface MapSizePlugin

Plugin interface invoked when the size of map changes.

Link copied to clipboard

Interface for plugins need to be aware of the style change event.

Link copied to clipboard

Defines scaling mode. Only applies to location-indicator type layers.

Link copied to clipboard
sealed class Plugin

Class describing plugin instance.

Link copied to clipboard

The enum controls how the puck is oriented

Link copied to clipboard

Configures the directions in which the map is allowed to move during a scroll gesture.

Link copied to clipboard
fun interface ViewPlugin : MapPlugin

Defines interface of a ViewPlugin.