Options
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
Functions
build
Link copied to clipboard
Build the attribution parser
withAttributionData
Link copied to clipboard
fun withAttributionData(vararg attributionData: String): AttributionParser.Options
Content copied to clipboard
Adds attribution data to the attribution parser builder
withCopyrightSign
Link copied to clipboard
fun withCopyrightSign(withCopyrightSign: Boolean): AttributionParser.Options
Content copied to clipboard
Flag indicating to add the copyright sign
withImproveMap
Link copied to clipboard
Flag indicating to add improve this map to the attribution dialog
withMapboxAttribution
Link copied to clipboard
fun withMapboxAttribution(withMapboxAttribution: Boolean): AttributionParser.Options
Content copied to clipboard
Flag indicating to add Mapbox attribution
withMapboxPrivacyPolicy
Link copied to clipboard
fun withMapboxPrivacyPolicy(withMapboxPrivacyPolicy: Boolean): AttributionParser.Options
Content copied to clipboard
Flag indicating to add privacy policy
withTelemetryAttribution
Link copied to clipboard
fun withTelemetryAttribution(withTelemetryAttribution: Boolean): AttributionParser.Options
Content copied to clipboard
Flag indicating to add telemetry attribution