applyDefaultParams

fun MapOptions.Builder.applyDefaultParams(context: Context): MapOptions.Builder

Get a default MapOptions.Builder with reasterization mode GlyphsRasterizationMode#ALL_GLYPHS_RASTERIZED_LOCALLY

Return

MapOptions.Builder

Get a default ResourceOptions.Builder with Mapbox pre-defined options, and with the access token taken from the Android resources(if available).

Parameters

context

the context of the application.