based on this question
Clustering in ArcGis Runtime SDK for .NET
and this answer
you will have a calss named the PointClusterer
but for showing your location and getting result from this class , you should be some things
you have to convert your location to the WebMercator
for that use this part of code
GraphicsOverlay clusterLayer = new GraphicsOverlay();
PointClusterer clusterer=new PointClusterer();
GraphicCollection collection = new GraphicCollection();
foreach (var items in AllPoint)
{
MapPoint campsitePointz = new MapPoint(items.gpsY, items.gpsX, SpatialReferences.Wgs84);
var newpoint = GeometryEngine.Project(campsitePointz, SpatialReferences.WebMercator);
collection.Add(new Graphic(newpoint));
}
clusterer.Graphics = collection;
clusterLayer.GraphicsSource = clusterer;
mapview.GraphicsOverlays.Add(clusterLayer);
this line
var newpoint = GeometryEngine.Project(campsitePointz, SpatialReferences.WebMercator);
will convert your location to the WebMercator .
the Geometry is exsit in the Esri.ArcGISRuntime.Geometry namespace.
and now the points will be appear in the proper locations in the map.