Builder

open class Builder : ViewObjectDataBuilder<TrafficSignData.Builder, MapTrafficSign, TrafficSignData>

Constructors

Builder
Link copied to clipboard
open fun Builder(@NonNull geoCoordinates: GeoCoordinates, @NonNull creator: ObjectCreator<MapTrafficSign, TrafficSignData>)
Builder
Link copied to clipboard
open fun Builder(@NonNull screenPosition: ViewObjectData.Point, @NonNull creator: ObjectCreator<MapTrafficSign, TrafficSignData>)

Functions

build
Link copied to clipboard
fun build(): I
setZIndex
Link copied to clipboard
fun setZIndex(zIndex: Int): B
withCountrySignage
Link copied to clipboard
open fun withCountrySignage(countrySignage: TrafficSignSettings.CountrySignage): TrafficSignData.Builder
Set traffic sign country signage - default value is World
withForm
Link copied to clipboard
open fun withForm(formType: TrafficSignFormSettings.FormType): TrafficSignData.Builder
Set form type
withLimit
Link copied to clipboard
open fun withLimit(limit: Float): TrafficSignData.Builder
Set limit value for traffic sign - always in kph
withMaxZoom
Link copied to clipboard
open fun withMaxZoom(maxZoom: Int): TrafficSignData.Builder
Set maximum zoom level for displaying the traffic sign - default value is 21
withMinZoom
Link copied to clipboard
open fun withMinZoom(minZoom: Int): TrafficSignData.Builder
Set minimal zoom level for displaying the traffic sign - default value is 0
withPayload
Link copied to clipboard
fun withPayload(@NonNull payload: Parcelable): B
withScale
Link copied to clipboard
open fun withScale(scale: Float): TrafficSignData.Builder
Set traffic sign scale factor - default velue is 1.
withSignType
Link copied to clipboard
open fun withSignType(signType: TrafficSignSettings.SignType): TrafficSignData.Builder
open fun withSignType(signType: TrafficSignData.SignType): TrafficSignData.Builder
Set traffic sign type
withUnitSystem
Link copied to clipboard
open fun withUnitSystem(unitSystem: TrafficSignSettings.RegionUnitSystem): TrafficSignData.Builder
Set traffic sign unit system - default value is Metric