CreateCustomPolygon

open fun CreateCustomPolygon(@NonNull mapPosVector: MapPosVector, @NonNull fillColor: Color, @NonNull lineColor: Color, lineWidth: Float): Polygon

Method to create custom polygon using the passed parameters

Return

Custom polygon object

Parameters

mapPosVector

Map position for the polygon

fillColor

Fill color for the polygon

lineColor

Line color for the polygon

lineWidth

Line width for the polygon