Any map API changes?

Asked on 07/20/2024

1 search

Yes, there are several changes to the MapKit API presented at WWDC. Here are some of the key updates:

  1. Place ID: A new identifier for places, allowing you to reference places represented by map items in the MapKit framework. This can be used to display place information and annotations (Unlock the power of places with MapKit).

  2. Place Cards: New APIs to present place information in your app's UI, even if your app doesn't feature a map view. This includes the MapItem detail API and Place detail API, which can be used with UIKit, AppKit, and SwiftUI (Unlock the power of places with MapKit).

  3. Enhanced Search Features: The ability to search for more kinds of places, such as music venues, skateparks, or castles. You can also search for physical features like rivers or mountain ranges, and specific components of an address, such as city or postal code. Searches can be restricted to a specific bounding region, and the server API now supports pagination for handling large sets of results (Unlock the power of places with MapKit).

  4. Simplified Token Provisioning: The process for generating tokens for MapKit JS has been streamlined, making it easier to get started with domain-specific token strings that don't expire until manually revoked (Unlock the power of places with MapKit).

  5. Adaptive Maps: Support for adaptive MapKit JS maps that can adjust to the system's preferred color scheme, whether light or dark (Unlock the power of places with MapKit).

For more detailed information, you can refer to the session "Unlock the power of places with MapKit".