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
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.Equals(MapPath) Method
Custom equality check.
public bool Equals(dymaptic.GeoBlazor.Core.Model.MapPath? other);
Parameters
other
MapPath
Returns
MapPath.Equals(object) Method
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj);
Parameters
obj
System.Object
The object to compare with the current object.
Returns
System.Boolean
true if the specified object is equal to the current object; otherwise, false.
MapPath.GetHashCode() Method
Serves as the default hash function.
public override int GetHashCode();
Returns
System.Int32
A hash code for the current object.
Operators
MapPath.implicit operator MapPath(double[][]) Operator
Implicitly converts a MapPath to a MapPoint.
public static dymaptic.GeoBlazor.Core.Model.MapPath implicit operator dymaptic.GeoBlazor.Core.Model.MapPath(double[][] p);
Parameters
Returns
MapPath.implicit operator MapPath(MapPoint[]) Operator
Implicitly converts a MapPath to a MapPoint.
public static dymaptic.GeoBlazor.Core.Model.MapPath implicit operator dymaptic.GeoBlazor.Core.Model.MapPath(dymaptic.GeoBlazor.Core.Model.MapPoint[] p);
Parameters
Returns
MapPath.implicit operator MapPath(List<List>) Operator
Implicitly converts a MapPath to a MapPoint.
public static dymaptic.GeoBlazor.Core.Model.MapPath implicit operator dymaptic.GeoBlazor.Core.Model.MapPath(System.Collections.Generic.List<System.Collections.Generic.List<double>> p);
Parameters
p
System.Collections.Generic.List<System.Collections.Generic.List<System.Double>>