Source

abstract class Source

Base Peer class for sources. see source.hpp for the other half of the peer.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val nativePtr: Long

Functions

Link copied to clipboard
Retrieve the source attribution.
Link copied to clipboard
open fun getId(): String
Retrieve the source id
Link copied to clipboard
Retrieve current maximum overscale factor for parent tiles.
Link copied to clipboard
Retrieve the minimum tile update interval, which is used to throttle the tile update network requests.
Link copied to clipboard
Retrieve current pre-fetching zoom delta.
Link copied to clipboard
Retrieve whether or not the fetched tiles for the given source should be stored in the local cache
Link copied to clipboard
open fun setDetached()
Link copied to clipboard
open fun setMaxOverscaleFactorForParentTiles(@Nullable maxOverscaleFactor: Integer)
When a set of tiles for a current zoom level is being rendered and some of the ideal tiles that cover the screen are not yet loaded, parent tile could be used instead.
Link copied to clipboard
Sets the minimum tile update interval, which is used to throttle the tile update network requests.
Link copied to clipboard
Set the tile pre-fetching zoom delta for current source.
Link copied to clipboard
open fun setVolatile(value: Boolean)
Set a flag defining whether or not the fetched tiles for the given source should be stored in the local cache