layout: default title: MapPath parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

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.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.Clone() Method

Clones a path and returns the new copy.

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

Returns

MapPath

MapPath.Equals(MapPath) Method

Custom equality check.

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

Parameters

other MapPath

Returns

System.Boolean