AttributionParser

Responsible for parsing attribution data coming from Sources and MapSnapshot.

Exposes multiple configuration options to manipulate data being parsed. Use the Options object to build these configurations.

open class AttributionParser

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion
Options
Link copied to clipboard

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.

class Options(context: Context)

Functions

createAttributionString
Link copied to clipboard

Get parsed attribution string.

fun createAttributionString(shortenedOutput: Boolean): String
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getAttributions
Link copied to clipboard

Get parsed attributions.

fun getAttributions(): Set<Attribution>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String