TilesetParser

Decodes a tileset.json document into a runtime Tileset tree: composes parent-to- child transforms into absolute tile-to-world matrices, resolves relative content URIs against the base URL, and lets the auth provider rewrite each child URI at parse time so persistent state (Google's session= token) is attached before the fetch queue.

Functions

Link copied to clipboard
fun parse(body: String, baseUri: String, authProvider: TilesetAuthProvider, parentTransform: Matrix4? = null, parentRefinement: Refinement? = null): Tileset