---
title: identifier
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkgeojsonfeature/identifier
---

# identifier

An optional identifier the class returns as a string.

## Declaration

```swift
var identifier: String? { get }
```

## Discussion

Discussion Note that the GeoJSON specification states that the identifier can be a number or a string. However, this identifier returns as a string.

## See Also

### Feature properties

- [geometry](mapkit/mkgeojsonfeature/geometry.md)
- [properties](mapkit/mkgeojsonfeature/properties.md)
