Package com.mapbox.navigation.ui.maps.guidance.signboard.api

Types

Link copied to clipboard
open class MapboxExternalFileResolver(assetManager: AssetManager) : SVGExternalFileResolver

Mapbox implementation of the SVGExternalFileResolver to better support font resolution.

Link copied to clipboard
class MapboxSignboardApi @JvmOverloads constructor(    accessToken: String,     parser: SvgToBitmapParser,     options: MapboxSignboardOptions = MapboxSignboardOptions.Builder().build())

Mapbox Signboard Api allows you to generate signboard for select maneuvers. By default uses the MapboxExternalFileResolver. Check out MapboxExternalFileResolver.resolveFont to know how css style's fonts are treated

Link copied to clipboard
class MapboxSvgToBitmapParser(externalFileResolver: SVGExternalFileResolver) : SvgToBitmapParser

Implementation of SvgToBitmapParser that provides a method allowing to convert SVG ByteArray to Bitmap

Link copied to clipboard
fun interface SvgToBitmapParser

An interface that exposes a function to allow the conversion of svg in a raw ByteArray format to Expected format that either holds a Bitmap if the conversion is successful or an error if it is not.