RouteShieldFactory

A factory exposed to build a RouteShield object.

Functions

Link copied to clipboard

Build RouteShield.MapboxLegacyShield given appropriate arguments.

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

Build RouteShield.MapboxDesignedShield given appropriate arguments.