Constructor PolylineBuilder
PolylineBuilder(SpatialReference)
Initializes a new instance of the PolylineBuilder class with the specified SpatialReference.
Declaration
public PolylineBuilder(SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
SpatialReference | spatialReference | The builder's spatial reference. |
Remarks
The SpatialReference cannot be changed after instantiation.
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
PolylineBuilder(Polyline)
Initializes a new instance of the PolylineBuilder class by copying the parts from the specified Polyline.
Declaration
public PolylineBuilder(Polyline polyline)
Parameters
Type | Name | Description |
---|---|---|
Polyline | polyline | A polyline object. |
Remarks
The SpatialReference of the new polyline builder will match that of the given Polyline. Use this constructor in workflows that create a modified version of an existing geometry, for example feature or graphic editing workflows. Polylines with curves are supported.
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 |
PolylineBuilder(IEnumerable<MapPoint>, SpatialReference)
Initializes a new instance of the PolylineBuilder class.
Declaration
public PolylineBuilder(IEnumerable<MapPoint> points, SpatialReference spatialReference = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MapPoint> | points | Points for the first part |
SpatialReference | spatialReference | Spatial reference of the Polyline |
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 |
PolylineBuilder(IEnumerable<IEnumerable<MapPoint>>, SpatialReference)
Initializes a new instance of the PolylineBuilder class.
Declaration
public PolylineBuilder(IEnumerable<IEnumerable<MapPoint>> points, SpatialReference spatialReference = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<MapPoint>> | points | Points for the parts in the polyline |
SpatialReference | spatialReference | Spatial reference of the Polyline |
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 |
PolylineBuilder(IEnumerable<Segment>, SpatialReference)
Initializes a new instance of the PolylineBuilder class.
Declaration
public PolylineBuilder(IEnumerable<Segment> part, SpatialReference spatialReference = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Segment> | part | The Polyline part |
SpatialReference | spatialReference | SpatialReference of the PolylineBuilder |
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 |
PolylineBuilder(IEnumerable<IEnumerable<Segment>>, SpatialReference)
Initializes a new instance of the PolylineBuilder class.
Declaration
public PolylineBuilder(IEnumerable<IEnumerable<Segment>> parts, SpatialReference spatialReference = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<Segment>> | parts | The Polyline parts |
SpatialReference | spatialReference | SpatialReference of the PolylineBuilder |
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 |