Class LocationFilter.Types.CustomArea.Types.Polygon
A polygon is represented by a series of connected coordinates in an counterclockwise ordered sequence. The coordinates form a closed loop and define a filled region. The first and last coordinates are equivalent, and they must contain identical values. The format is a simplified version of GeoJSON polygons (we only support one counterclockwise exterior ring).
Implements
Namespace: Google.Maps.AreaInsights.V1
Assembly: Google.Maps.AreaInsights.V1.dll
Syntax
public sealed class LocationFilter.Types.CustomArea.Types.Polygon : IMessage<LocationFilter.Types.CustomArea.Types.Polygon>, IEquatable<LocationFilter.Types.CustomArea.Types.Polygon>, IDeepCloneable<LocationFilter.Types.CustomArea.Types.Polygon>, IBufferMessage, IMessage
Constructors
Polygon()
Declaration
public Polygon()
Polygon(Polygon)
Declaration
public Polygon(LocationFilter.Types.CustomArea.Types.Polygon other)
Parameters
Type | Name | Description |
---|---|---|
LocationFilter.Types.CustomArea.Types.Polygon | other |
Properties
Coordinates
Optional. The coordinates that define the polygon.
Declaration
public RepeatedField<LatLng> Coordinates { get; }
Property Value
Type | Description |
---|---|
RepeatedField<LatLng> |