MapboxExternalFileResolver

open class MapboxExternalFileResolver(assetManager: AssetManager) : SVGExternalFileResolver

Mapbox implementation of the SVGExternalFileResolver to better support font resolution.

See resolveFont.

Constructors

Link copied to clipboard
fun MapboxExternalFileResolver(assetManager: AssetManager)

Functions

Link copied to clipboard
open fun isFormatSupported(p0: String): Boolean
Link copied to clipboard
open fun resolveCSSStyleSheet(p0: String): String
Link copied to clipboard
open override fun resolveFont(    fontFamily: String?,     fontWeight: Int,     fontStyle: String?): Typeface?

Called by renderer to resolve font references in elements.

Link copied to clipboard
open fun resolveImage(p0: String): Bitmap