---
title: MapSelection
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/mapselection
---

# MapSelection

A value representing a selected feature on a map.

## Declaration

```swift
struct MapSelection<SelectionValue> where SelectionValue : Hashable
```

## Topics

### Creating a map selection

- [init(_:)](mapkit/mapselection/init(_:).md)

### Getting the properties

- [value](mapkit/mapselection/value.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MapSelectable](mapkit/mapselectable.md)

## See Also

### Map features

- [MapFeature](mapkit/mapfeature.md)
- [MapSelectable](mapkit/mapselectable.md)
