Contents

representations

An array of representations of the place using common mapping concepts.

Declaration

let representations: [PlaceDescriptor.PlaceRepresentation]

Discussion

When searching or fetching a place from a mapping service provider, the order of the list can be a hint of usefulness for a specific purpose. Representations that most closely match the original data source come first.

For example a hike tracking app may include a .coordinate first, even if an approximate .address is available. A contacts app may put .address first, even if the service provider fetched a .coordinate for display on a Map.

See Also

Getting the attributes of a place descriptor