Builder
class Builder : ViewObjectDataBuilder<PolygonData.Builder, MapPolygon, PolygonData>
Content copied to clipboard
Constructors
Builder
Link copied to clipboard
open fun Builder(@NonNull center: GeoCoordinates, creator: ObjectCreator<MapPolygon, PolygonData>)
Content copied to clipboard
Builder
Link copied to clipboard
open fun Builder(@NonNull center: GeoCoordinates, @NonNull vertices: List<GeoCoordinates>, creator: ObjectCreator<MapPolygon, PolygonData>)
Content copied to clipboard
Functions
add Vertices
Link copied to clipboard
open fun addVertices(@NonNull nextVertex: Array<GeoCoordinates>): PolygonData.Builder
Content copied to clipboard
Adds the GeoCoordinate at the end of the border of the MapPolygon.
open fun addVertices(@NonNull vertices: List<GeoCoordinates>): PolygonData.Builder
Content copied to clipboard
Adds GeoCoordinates at the end of the border line of the MapPolygon.
set Border Color
Link copied to clipboard
Sets the border color.
set Border Radius
Link copied to clipboard
Sets the border radius, in range <0.0 - 1.
set Center Color
Link copied to clipboard
Sets the center color.
set Center Radius
Link copied to clipboard
Sets the center radius, in range <0.0 - 1.
with Payload
Link copied to clipboard