Mapbox

class Mapbox(id: String) : Plugin

Should be used to create Mapbox official plugins.

Parameters

id

unique id

Constructors

Mapbox
Link copied to clipboard
fun Mapbox(id: String)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Equals implementation taking only id into account.

hashCode
Link copied to clipboard
open override fun hashCode(): Int

Hash code implementation taking only id into account.

toString
Link copied to clipboard
open override fun toString(): String

toString implementation.

Properties

id
Link copied to clipboard
val id: String

Unique plugin id.

instance
Link copied to clipboard
val instance: MapPlugin?

Plugin instance implementing MapPlugin. Must be non-null for user-defined plugins or RuntimeException will occur when trying to initiate such plugin.