MBTileFactory

open class MBTileFactory(val contentPath: String, val isReadOnly: Boolean) : TileFactory, ContentEntry

Constructors

Link copied to clipboard
constructor(contentPath: String, isReadOnly: Boolean)

Properties

Link copied to clipboard
val boundingSector: ERROR CLASS: Unresolved name: let
Link copied to clipboard
var cachePolicy: CachePolicy
Link copied to clipboard
open override val contentKey: String
Link copied to clipboard
open override val contentPath: String
Link copied to clipboard
open override val contentType: String

Unique tile factory content type name

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun clearEntry(deleteMetadata: Boolean = false)

Clear cached tiles for this entry. With deleteMetadata = true, also drop the service-identity row (and, for file-format factories, the underlying file) so the entry is gone for good. With false (default), the registration / catalog row survives so re-download repopulates the same layer without re-configuration.

Link copied to clipboard
open suspend override fun contentSize(): Long
Link copied to clipboard
open override fun createTile(sector: Sector, level: Level, row: Int, column: Int): ERROR CLASS: Unresolved name: apply

Returns a tile for a specified sector, level within a LevelSet, and row and column within that level.

Link copied to clipboard
suspend fun evict()
Link copied to clipboard
open suspend override fun lastModifiedDate(): ERROR CLASS: Symbol not found for Instant
Link copied to clipboard
open suspend fun setDisplayName(displayName: String)

Persist a user-visible name for this entry. Writes through to the underlying catalog row when the implementation has one (ContentManager-backed entries); no-op for self-contained file formats (MBTiles / RMaps / ATAK / Kropyva) where the display name lives inside the immutable package and can't be reassigned from outside.

Link copied to clipboard
fun shutdown()