I have already used a PointCollection in Xamarin like so:
var points = new PointCollection(SpatialReferences.Wgs84)
{ new MapPoint(10.92741,49.48598),
new MapPoint(10.93454,49.60011),...
Now I want to do the same in Swift like:
let pointCollection = AGSPointCollection()
pointCollection.spatialReference = AGSSpatialReference.wgs84()
This is probably not the right way, could anyone help me with a small sample?
b.r.
Thomas