public static class AttributionParser.Options
extends java.lang.Object
AttributionData, set with withAttributionData(String...)
, 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.
Constructor and Description |
---|
Options(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
AttributionParser |
build() |
AttributionParser.Options |
withAttributionData(java.lang.String... attributionData) |
AttributionParser.Options |
withCopyrightSign(boolean withCopyrightSign) |
AttributionParser.Options |
withImproveMap(boolean withImproveMap) |
AttributionParser.Options |
withMapboxAttribution(boolean withMapboxAttribution) |
AttributionParser.Options |
withTelemetryAttribution(boolean withTelemetryAttribution) |
@NonNull public AttributionParser.Options withAttributionData(java.lang.String... attributionData)
@NonNull public AttributionParser.Options withImproveMap(boolean withImproveMap)
@NonNull public AttributionParser.Options withCopyrightSign(boolean withCopyrightSign)
@NonNull public AttributionParser.Options withTelemetryAttribution(boolean withTelemetryAttribution)
@NonNull public AttributionParser.Options withMapboxAttribution(boolean withMapboxAttribution)
@NonNull public AttributionParser build()