RouteShieldFactory

object RouteShieldFactory

A factory exposed to build a RouteShield object.

Functions

Link copied to clipboard
fun buildRouteShield(    downloadUrl: String,     byteArray: ByteArray,     initialUrl: String): RouteShield.MapboxLegacyShield

Build RouteShield.MapboxLegacyShield given appropriate arguments.

fun buildRouteShield(    downloadUrl: String,     byteArray: ByteArray,     mapboxShield: MapboxShield,     shieldSprite: ShieldSprite): RouteShield.MapboxDesignedShield

Build RouteShield.MapboxDesignedShield given appropriate arguments.