MTBenchmark

Basic benchmarking helper for Kotlin SDK.

Constructors

constructor(context: Context)

Functions

suspend fun benchmarkJS()
suspend fun benchmarkSingleSourceMultipleLayers(tileTemplate: String = ARCGIS_TILE_TEMPLATE, sourceLayerName: String = "Parcels")
fun Map(modifier: Modifier = Modifier, styleVariant: MTMapStyleVariant? = null)
open override fun onEventTriggered(event: MTEvent, data: MTData?)
suspend fun runGeoJSONSingleSourceMultipleSymbolLayers(count: Int, dataUrl: String = "https://docs.maptiler.com/sdk-js/assets/earthquakes.geojson")
suspend fun runSingleSourceMultipleLayers(count: Int, tileTemplate: String = ARCGIS_TILE_TEMPLATE, sourceLayerName: String = "Parcels")
suspend fun startStressTest(iterations: Int, markersAreOn: Boolean, markerCount: Int)