loadJson

suspend fun loadJson(tilesetUrl: Resource): Any(source)

Provides a hook to override the method used to request the tileset json useful when fetching tilesets from remote servers

Return

A promise that resolves with the fetched json data

Parameters

tilesetUrl

The url of the json file to be fetched

See also


suspend fun loadJson(tilesetUrl: String): Any(source)