Initializes a new instance of the Polygon class.

Namespace: Reimers.Google.Map
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public Polygon(
	Guid id,
	IEnumerable<ICoordinates> points,
	Color fillColor,
	double fillOpacity
)

Parameters

id
Type: System..::..Guid
A String setting the ID of the Polygon.
points
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'ICoordinates>)>)>
A List<(Of <(<'T>)>)> containing the LatLngs that describe the Polygon.
fillColor
Type: System.Drawing..::..Color
The Color to use to fill the polygon.
fillOpacity
Type: System..::..Double
The opacity of the polygon as a Double.

See Also