MapboxExternalFileResolver

open class MapboxExternalFileResolver(assetManager: AssetManager) : SVGExternalFileResolver

Mapbox implementation of the SVGExternalFileResolver to better support font resolution.

See resolveFont.

Constructors

Link copied to clipboard
constructor(assetManager: AssetManager)

Functions

Link copied to clipboard
Link copied to clipboard
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