Constructor PointCollection
PointCollection()
Initializes a new instance of the PointCollection class without a SpatialReference
Declaration
public PointCollection()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
PointCollection(SpatialReference)
Initializes a new instance of the PointCollection class with a given SpatialReference
Declaration
public PointCollection(SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
SpatialReference | spatialReference | The spatial reference to be used by all points in this collection |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Convex hull: Create a convex hull for a given set of points. The convex hull is a polygon with shortest perimeter that encloses a set of points. As a visual analogy, consider a set of points as nails in a board. The convex hull of the points would be like a rubber band stretched around the outermost nails.
Convex hull list: Generate convex hull polygon(s) from multiple input geometries.
PointCollection(IEnumerable<MapPoint>)
Initializes a new instance of the PointCollection class. Populates with the supplied points.
Declaration
public PointCollection(IEnumerable<MapPoint> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MapPoint> | points | Populates with the supplied points |
Remarks
If the input is another PointCollection a more efficient copy is made.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
PointCollection(IEnumerable<MapPoint>, SpatialReference)
Initializes a new instance of the PointCollection class. The spatial reference is used if the input points don't have one.
Declaration
public PointCollection(IEnumerable<MapPoint> points, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MapPoint> | points | Populates with the supplied points |
SpatialReference | spatialReference | A spatial reference for the input points |
Remarks
If the input is another PointCollection a more efficient copy is made.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |