Builder

class Builder : ViewObjectDataBuilder<B, I, D>

Constructors

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Adds the GeoCoordinate at the end of the path of the MapPolyline.
Adds GeoCoordinates at the end of the path of the MapPolyline.
Link copied to clipboard
fun build(): I
Link copied to clipboard
Enables/Disables MapPolyline to be rendered with antialiased borders.
Link copied to clipboard
open fun setCornerRadius(cornerRadius: Float): PolylineData.Builder
Sets the dash corner radius, in range [0, lineWidth / 2], for the primary dash of the MapPolyline.
Link copied to clipboard
Sets the appearance of this MapPolyline as either a dashed or solid line.
Link copied to clipboard
Sets the dash length, for the MapPolyline.
Link copied to clipboard
open fun setLineColor(lineColor: Int): PolylineData.Builder
Sets the line color.
Link copied to clipboard
Returns the line width, in pixels.
Link copied to clipboard
Sets the width of this MapPolyline to either scale or not scale with ground distance.
Link copied to clipboard
Sets the secondary line color (used for dash/border).
Link copied to clipboard
open fun setSecondaryDashLength(dashSecondaryLength: Float): PolylineData.Builder
Sets the secondary dash length, for the MapPolyline.
Link copied to clipboard
fun setZIndex(zIndex: Int): B
Link copied to clipboard
fun withPayload(@NonNull payload: Parcelable): B