Builder

class Builder

Constructors

Link copied to clipboard
open fun Builder()

Functions

Link copied to clipboard
open fun build(): MapOptions
Link copied to clipboard
The map constrain mode.
Link copied to clipboard
The map context mode.
Link copied to clipboard
open fun crossSourceCollisions(@Nullable crossSourceCollisions: Boolean): MapOptions.Builder
Specify whether to enable cross-source symbol collision detection or not.
Link copied to clipboard
Glyphs rasterization options to use for client-side text rendering.
Link copied to clipboard
The orientation of the Map.
Link copied to clipboard
open fun pixelRatio(pixelRatio: Float): MapOptions.Builder
The custom pixel ratio.
Link copied to clipboard
@MapboxExperimental
open fun scaleFactor(scaleFactor: Float): MapOptions.Builder
Custom scale factor for the Map symbols: icons and texts.
Link copied to clipboard
The size to resize the map object and renderer backend.
Link copied to clipboard
The viewport mode.

Extensions

Link copied to clipboard

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