You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Indicates whether this Polyline handles mouse events. Defaults to true.
19
+
/// </summary>
20
+
publicboolClickable{get;set;}
21
+
22
+
/// <summary>
23
+
/// If set to true, the user can drag this shape over the map. The geodesic property defines the mode of dragging. Defaults to false.
24
+
/// </summary>
25
+
publicboolDraggable{get;set;}
26
+
27
+
/// <summary>
28
+
/// If set to true, the user can edit this shape by dragging the control points shown at the vertices and on each segment. Defaults to false.
29
+
/// </summary>
30
+
publicboolEditable{get;set;}
31
+
32
+
/// <summary>
33
+
/// When true, edges of the polygon are interpreted as geodesic and will follow the curvature of the Earth. When false, edges of the polygon are rendered as
34
+
/// straight lines in screen space. Note that the shape of a geodesic polygon may appear to change when dragged, as the dimensions are maintained relative to
35
+
/// the surface of the earth. Defaults to false.
36
+
/// </summary>
37
+
publicboolGeodesic{get;set;}
38
+
39
+
/// <summary>
40
+
/// The icons to be rendered along the polyline.
41
+
/// </summary>
42
+
publicGoogleMapIconSequence[]Icons{get;set;}
43
+
44
+
/// <summary>
45
+
/// The ordered sequence of coordinates of the Polyline.
46
+
/// </summary>
47
+
publicGoogleMapLatLngPath{get;set;}
48
+
49
+
/// <summary>
50
+
/// The stroke color. All CSS3 colors are supported except for extended named colors.
51
+
/// </summary>
52
+
publicstringStrokeColor{get;set;}
53
+
54
+
/// <summary>
55
+
/// The stroke opacity between 0.0 and 1.0.
56
+
/// </summary>
57
+
publicdoubleStrokeOpacity{get;set;}
58
+
59
+
/// <summary>
60
+
/// The stroke width in pixels.
61
+
/// </summary>
62
+
publicdoubleStrokeWeight{get;set;}
63
+
64
+
/// <summary>
65
+
/// Whether this polyline is visible on the map. Defaults to true.
66
+
/// </summary>
67
+
publicboolVisible{get;set;}
68
+
69
+
/// <summary>
70
+
/// The zIndex compared to other polys.
71
+
/// </summary>
72
+
publicintZIndex{get;set;}
73
+
74
+
publicGoogleMapPolylineOptions()
75
+
{
76
+
Id=Guid.NewGuid();
77
+
}
78
+
}
79
+
80
+
/// <summary>
81
+
/// Describes how icons are to be rendered on a line.
82
+
/// </summary>
83
+
publicclassGoogleMapIconSequence
84
+
{
85
+
/// <summary>
86
+
/// If true, each icon in the sequence has the same fixed rotation regardless of the angle of the edge on which it lies. Defaults to false,
87
+
/// in which case each icon in the sequence is rotated to align with its edge.
88
+
/// </summary>
89
+
publicboolFixedRotation{get;set;}
90
+
91
+
/// <summary>
92
+
/// The icon to render on the line.
93
+
/// </summary>
94
+
publicGoogleMapIconSequenceSymbolIcon{get;set;}
95
+
96
+
/// <summary>
97
+
/// The distance from the start of the line at which an icon is to be rendered. This distance may be expressed as a percentage of line's length
98
+
/// (e.g. '50%') or in pixels (e.g. '50px'). Defaults to '100%'.
99
+
/// </summary>
100
+
publicstringOffset{get;set;}
101
+
102
+
/// <summary>
103
+
/// The distance between consecutive icons on the line. This distance may be expressed as a percentage of the line's length (e.g. '50%') or in pixels
104
+
/// (e.g. '50px'). To disable repeating of the icon, specify '0'. Defaults to '0'.
105
+
/// </summary>
106
+
publicstringRepeat{get;set;}
107
+
}
108
+
109
+
/// <summary>
110
+
/// Describes a symbol, which consists of a vector path with styling. A symbol can be used as the icon of a marker, or placed on a polyline.
111
+
/// </summary>
112
+
publicclassGoogleMapIconSequenceSymbol
113
+
{
114
+
/// <summary>
115
+
/// The symbol's path, which is a built-in symbol path, or a custom path expressed using SVG path notation. Required.
116
+
/// </summary>
117
+
publicstringPath{get;set;}
118
+
119
+
/// <summary>
120
+
/// The position at which to anchor an image in correspondence to the location of the marker on the map.
121
+
/// By default, the anchor is located along the center point of the bottom of the image.
122
+
/// </summary>
123
+
publicPoint?Anchor{get;set;}
124
+
125
+
/// <summary>
126
+
/// The symbol's fill color. All CSS3 colors are supported except for extended named colors. For symbol markers, this defaults to 'black'.
127
+
/// For symbols on polylines, this defaults to the stroke color of the corresponding polyline.
128
+
/// </summary>
129
+
publicstringFillColor{get;set;}
130
+
131
+
/// <summary>
132
+
/// The symbol's fill opacity. Defaults to 0.
133
+
/// </summary>
134
+
publicdoubleFillOpacity{get;set;}
135
+
136
+
/// <summary>
137
+
/// The origin of the label relative to the top-left corner of the icon image, if a label is supplied by the marker.
138
+
/// By default, the origin is located in the center point of the image.
139
+
/// </summary>
140
+
publicPoint?LabelOrigin{get;set;}
141
+
142
+
/// <summary>
143
+
/// The angle by which to rotate the symbol, expressed clockwise in degrees. Defaults to 0. A symbol in an IconSequence where fixedRotation is false
144
+
/// is rotated relative to the angle of the edge on which it lies.
145
+
/// </summary>
146
+
publicdoubleRotation{get;set;}
147
+
148
+
/// <summary>
149
+
/// The amount by which the symbol is scaled in size. For symbol markers, this defaults to 1; after scaling, the symbol may be of any size. For symbols on a polyline,
150
+
/// this defaults to the stroke weight of the polyline; after scaling, the symbol must lie inside a square 22 pixels in size centered at the symbol's anchor.
151
+
/// </summary>
152
+
publicdoubleScale{get;set;}
153
+
154
+
/// <summary>
155
+
/// The symbol's stroke color. All CSS3 colors are supported except for extended named colors. For symbol markers, this defaults to 'black'.
156
+
/// For symbols on a polyline, this defaults to the stroke color of the polyline.
157
+
/// </summary>
158
+
publicstringStrokeColor{get;set;}
159
+
160
+
/// <summary>
161
+
/// The symbol's stroke opacity. For symbol markers, this defaults to 1. For symbols on a polyline, this defaults to the stroke opacity of the polyline.
162
+
/// </summary>
163
+
publicdoubleStrokeOpacity{get;set;}
164
+
165
+
/// <summary>
166
+
/// The symbol's stroke weight. Defaults to the scale of the symbol.
167
+
/// </summary>
168
+
publicdoubleStrokeWeight{get;set;}
169
+
170
+
/// <summary>
171
+
/// Default constructor.
172
+
/// </summary>
173
+
/// <param name="path">The symbol's path</param>
174
+
publicGoogleMapIconSequenceSymbol(stringpath)
175
+
{
176
+
if(string.IsNullOrWhiteSpace(path))
177
+
{
178
+
thrownewArgumentException($"'{nameof(path)}' cannot be null or whitespace",nameof(path));
0 commit comments