interface AddPolygonOptions {
    fillColor?: string | Color;
    fillOpacity?: number;
    id?: any;
    points: LatLng[];
    strokeColor?: string | Color;
    strokeOpacity?: number;
    strokeWidth?: number;
}

Properties

fillColor?: string | Color
fillOpacity?: number

Transparency / alpha, ranging from 0 to 1. Default fully opaque (1).

id?: any

Set this in case you want to later pass it to 'removePolygons'. TODO doesn't exist yet ;)

points: LatLng[]
strokeColor?: string | Color

The line around the polygon. Barely visible on Android.

strokeOpacity?: number

iOS only.

strokeWidth?: number

iOS only.