dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Model

MapPath Class

Represents both Paths and Rings, as a two-dimensional array of number coordinates.
ArcGIS Maps SDK for JavaScript

public class MapPath : System.Collections.Generic.List<dymaptic.GeoBlazor.Core.Model.MapPoint>,
System.IEquatable<dymaptic.GeoBlazor.Core.Model.MapPath>

Inheritance System.Object 🡒 System.Collections.Generic.List<MapPoint> 🡒 MapPath

Implements System.IEquatable<MapPath>

Constructors

MapPath(MapPoint[]) Constructor

Generate a new path or ring from a parameter list of points.

public MapPath(params dymaptic.GeoBlazor.Core.Model.MapPoint[] p);

Parameters

p MapPoint[]

MapPath(IEnumerable) Constructor

Generate a new path or ring from a collection of points.

public MapPath(System.Collections.Generic.IEnumerable<dymaptic.GeoBlazor.Core.Model.MapPoint> p);

Parameters

p System.Collections.Generic.IEnumerable<MapPoint>

Methods

MapPath.Clone() Method

Clones a path and returns the new copy.

public dymaptic.GeoBlazor.Core.Model.MapPath Clone();

Returns

MapPath

MapPath.Equals(MapPath) Method

Custom equality check.

public bool Equals(dymaptic.GeoBlazor.Core.Model.MapPath? other);

Parameters

other MapPath

Returns

System.Boolean

MapPath.Equals(object) Method

public override bool Equals(object? obj);

Parameters

obj System.Object

Returns

System.Boolean

MapPath.GetHashCode() Method

public override int GetHashCode();

Returns

System.Int32

Operators

MapPath.implicit operator MapPath(double[][]) Operator

Implicitly converts a MapPath to a MapPoint.

public static dymaptic.GeoBlazor.Core.Model.MapPath implicit operator MapPath(double[][] p);

Parameters

p System.Double[][]

Returns

MapPath

MapPath.implicit operator MapPath(MapPoint[]) Operator

Implicitly converts a MapPath to a MapPoint.

public static dymaptic.GeoBlazor.Core.Model.MapPath implicit operator MapPath(dymaptic.GeoBlazor.Core.Model.MapPoint[] p);

Parameters

p MapPoint[]

Returns

MapPath

MapPath.implicit operator MapPath(List<List>) Operator

Implicitly converts a MapPath to a MapPoint.

public static dymaptic.GeoBlazor.Core.Model.MapPath implicit operator MapPath(System.Collections.Generic.List<System.Collections.Generic.List<double>> p);

Parameters

p System.Collections.Generic.List<System.Collections.Generic.List<System.Double>>

Returns

MapPath