ResourceOptionsManager

Convenience class that holds the default ResourceOptions. ResourceOptionsManager could be created per MapView instance if given view should use some specific resource options. Most common use-case when all MapViews should use same resource options could be handled by using ResourceOptionsManager.getDefault(context: Context) static object.

class ResourceOptionsManager(resourceOptions: ResourceOptions)

Constructors

ResourceOptionsManager
Link copied to clipboard
fun ResourceOptionsManager(resourceOptions: ResourceOptions)

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
update
Link copied to clipboard

Update specific resource options in a closure.

fun update(block: ResourceOptions.Builder.() -> Unit)

Properties

resourceOptions
Link copied to clipboard

the initial resource options.

var resourceOptions: ResourceOptions