AGSPointCollection - iOS

423
0
03-21-2017 12:09 PM
ThomasArnold
New Contributor II

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

Tags (1)
0 Kudos
0 Replies