---
title: "init(points:count:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mkgeodesicpolyline/init(points:count:)"
---

# init(points:count:)

Creates and returns a geodesic polyline using the specified map points.

## Declaration

```swift
convenience init(points: UnsafePointer<MKMapPoint>, count: Int)
```

## Parameters

- `points`: A pointer to the array of map points that define the path.
- `count`: The number of items in the points array.

## Return Value

Return Value A new geodesic polyline object.

## See Also

### Creating a geodesic polyline overlay

- [init(coordinates:count:)](mapkit/mkgeodesicpolyline/init(coordinates:count:).md)
