Options

class Options(context: Context)

Builder to configure using an AttributionParser.

AttributionData, set with .withAttributionData, is the only required property to build the underlying AttributionParser. Other properties include trimming the copyright sign, adding telemetry attribution or hiding attribution as improve this map and Mapbox.

Constructors

Link copied to clipboard
fun Options(context: Context)

Functions

Link copied to clipboard

Build the attribution parser

Link copied to clipboard

Adds attribution data to the attribution parser builder

Link copied to clipboard

Flag indicating to add the copyright sign

Link copied to clipboard

Adds extra attributions to the attribution dialog

Link copied to clipboard

Flag indicating to add improve this map to the attribution dialog

Link copied to clipboard

Flag indicating to add Mapbox attribution

Link copied to clipboard

Flag indicating to show Geofencing user consent option. Note that the entry will be shown only if the Geofencing is currently active or the user has previously opted out.

Link copied to clipboard

Flag indicating to add privacy policy

Link copied to clipboard

Flag indicating to add telemetry attribution