Resource

class Resource

Resource provides access to resource types.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
annotation class Kind
Resource type variants.

Properties

Link copied to clipboard
val GLYPHS: Int = 4
Signed distance field glyphs for text rendering.
Link copied to clipboard
val SOURCE: Int = 2
TileJSON file as specified in https://maplibre.
Link copied to clipboard
val SPRITE_IMAGE: Int = 5
Image part of a sprite sheet.
Link copied to clipboard
val SPRITE_JSON: Int = 6
JSON part of a sprite sheet.
Link copied to clipboard
val STYLE: Int = 1
Style sheet JSON file
Link copied to clipboard
val TILE: Int = 3
A vector or raster tile as described in the style sheet at https://maplibre.
Link copied to clipboard
val UNKNOWN: Int = 0
Unknown type