Skip to main content Link Search Menu Expand Document (external link)

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

MapPath Class

Represents both Paths and Rings, as a two-dimensional array of number coordinates.
ArcGIS JS API

public class MapPath : System.Collections.Generic.List<dymaptic.GeoBlazor.Core.Objects.MapPoint>,
System.IEquatable<dymaptic.GeoBlazor.Core.Objects.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.Objects.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.Objects.MapPoint> p);

Parameters

p System.Collections.Generic.IEnumerable<MapPoint>

Methods

MapPath.DeepCopy() Method

Clones a path and returns the new copy.

public dymaptic.GeoBlazor.Core.Objects.MapPath DeepCopy();

Returns

MapPath

MapPath.Equals(MapPath) Method

Custom equality check.

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

Parameters

other MapPath

Returns

System.Boolean

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.