dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
Circle Class
A circle is a Polygon created by specifying a center point
and a radius.
ArcGIS Maps SDK for JavaScript
public class Circle : dymaptic.GeoBlazor.Core.Components.Geometries.Polygon
Inheritance System.Object π‘ Microsoft.AspNetCore.Components.ComponentBase π‘ MapComponent π‘ Geometry π‘ Polygon π‘ Circle
Constructors
Circle() Constructor
Parameterless constructor for use as a Razor Component.
public Circle();
Circle(Point, double, Point, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, IReadOnlyList, SpatialReference) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public Circle(dymaptic.GeoBlazor.Core.Components.Geometries.Point center, double radius, dymaptic.GeoBlazor.Core.Components.Geometries.Point? centroid=null, System.Nullable<bool> geodesic=null, System.Nullable<bool> hasM=null, System.Nullable<bool> hasZ=null, System.Nullable<bool> isSelfIntersecting=null, System.Nullable<int> numberOfPoints=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.RadiusUnit> radiusUnit=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.MapPath>? rings=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference=null);
Parameters
center
Point
The center point of the circle.
ArcGIS Maps SDK for JavaScript
radius
System.Double
The radius of the circle.
default 1000
ArcGIS Maps SDK for JavaScript
centroid
Point
The centroid of the polygon.
ArcGIS Maps SDK for JavaScript
geodesic
System.Nullable<System.Boolean>
Applicable when the spatial reference of the center point is either set to Web Mercator (wkid: 3857) or geographic/geodesic (wkid: 4326).
default false
ArcGIS Maps SDK for JavaScript
hasM
System.Nullable<System.Boolean>
Indicates if the geometry has M values.
ArcGIS Maps SDK for JavaScript
hasZ
System.Nullable<System.Boolean>
Indicates if the geometry has z-values (elevation).
ArcGIS Maps SDK for JavaScript
isSelfIntersecting
System.Nullable<System.Boolean>
Checks to see if polygon rings cross each other and indicates if the polygon is self-intersecting, which means the ring of the polygon crosses itself.
ArcGIS Maps SDK for JavaScript
numberOfPoints
System.Nullable<System.Int32>
This value defines the number of points along the curve of the circle.
default 60
ArcGIS Maps SDK for JavaScript
radiusUnit
System.Nullable<RadiusUnit>
Unit of the radius.
default meters
ArcGIS Maps SDK for JavaScript
rings
System.Collections.Generic.IReadOnlyList<MapPath>
An array of rings.
ArcGIS Maps SDK for JavaScript
spatialReference
SpatialReference
The spatial reference of the geometry.
default WGS84 (wkid: 4326)
ArcGIS Maps SDK for JavaScript
Properties
Circle.Center Property
The center point of the circle.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Geometries.Point? Center { get; set; }
Property Value
Circle.Geodesic Property
Applicable when the spatial reference of the center point is either set to Web
Mercator (wkid: 3857) or geographic/geodesic (wkid: 4326).
default false
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> Geodesic { get; set; }
Property Value
System.Nullable<System.Boolean>
Circle.NumberOfPoints Property
This value defines the number of points along the curve of the circle.
default 60
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> NumberOfPoints { get; set; }
Property Value
Circle.Radius Property
The radius of the circle.
default 1000
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> Radius { get; set; }
Property Value
System.Nullable<System.Double>
Circle.RadiusUnit Property
Unit of the radius.
default βmetersβ
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.RadiusUnit> RadiusUnit { get; set; }
Property Value
Methods
Circle.GetGeodesic() Method
Asynchronously retrieve the current value of the Geodesic property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetGeodesic();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
Circle.GetRadiusUnit() Method
Asynchronously retrieve the current value of the RadiusUnit property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.RadiusUnit>> GetRadiusUnit();
Returns
System.Threading.Tasks.Task<System.Nullable<RadiusUnit>>
Circle.SetGeodesic(Nullable) Method
Asynchronously set the value of the Geodesic property after render.
public System.Threading.Tasks.Task SetGeodesic(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
Circle.SetRadiusUnit(Nullable) Method
Asynchronously set the value of the RadiusUnit property after render.
public System.Threading.Tasks.Task SetRadiusUnit(System.Nullable<dymaptic.GeoBlazor.Core.Enums.RadiusUnit> value);
Parameters
value
System.Nullable<RadiusUnit>
The value to set.