---
title: "locations(at:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mkmultipoint/locations(at:)"
---

# locations(at:)

Translates a point index set into a unit distance along the shape.

## Declaration

```swift
func locations(at indexes: IndexSet) -> [CGFloat]
```

## Parameters

- `indexes`: The index set of map points associated with the shape.

## Return Value

Return Value An array of CGFloat values.

## See Also

### Accessing the points in the shape

- [points()](mapkit/mkmultipoint/points().md)
- [pointCount](mapkit/mkmultipoint/pointcount.md)
- [location(atPointIndex:)](mapkit/mkmultipoint/location(atpointindex:).md)
