I want to create markers on my map from a list containing C# objects with latitude and longitude properties, something similar to the following:
class Marker
{
public int Long { get; set; }
public int Lat { get; set; }
}
List<Marker> markers = databaseConnection.GetAllMarkers();
// Create Layer from markers
var layer = GetMarkerLayer(markers);
MapView.Map.OperationalLayers.Add(layer);
These markers need to be in a feature inside the "operationalLayers" list as I want to do clustering with them.
From my research, it seems like this is only possible by getting the data from a URL or some kind of service, but I want this functionality to be completely offline and mutable.
Is this possible?