// Helper method
		private static PointCollection FromArray(params double[] parameters)
		{
			PointCollection coll = new PointCollection(SpatialReferences.Wgs84);
			var mapPointBuilder = new MapPointBuilder(SpatialReferences.Wgs84);
			for (int i = 0; i < parameters.Length - 1; i+=2)
			{
				mapPointBuilder.SetValues(parameters[i], parameters[i + 1]);
				coll.Add(mapPointBuilder.ToGeometry());
			}
			return coll;
		}
        // Helper method
        private static PointCollection FromArray(params double[] parameters)
        {
            PointCollection coll            = new PointCollection(SpatialReferences.Wgs84);
            var             mapPointBuilder = new MapPointBuilder(SpatialReferences.Wgs84);

            for (int i = 0; i < parameters.Length - 1; i += 2)
            {
                mapPointBuilder.SetValues(parameters[i], parameters[i + 1]);
                coll.Add(mapPointBuilder.ToGeometry());
            }
            return(coll);
        }