what's new with maps

Generated on 8/10/2024

1 search

Apple introduced several new features for MapKit at WWDC 2024. Here are the highlights:

  1. Place ID: A new identifier for places that allows developers to reference places represented by map items in MapKit. This can be used across native apps and web content, making it easier to manage and update place information.

  2. Place Cards: Developers can now display detailed information about places using place cards. These can be presented in various styles, such as full presentation, compact, or as a link to view in the Maps app. This feature is available for UIKit, AppKit, and SwiftUI, and can also be used in MapKit JS for web pages.

  3. Enhanced Search APIs: The search APIs have been improved to allow for more specific searches, including filtering by types of places (e.g., music venues, skateparks) and physical features (e.g., rivers, mountain ranges). Searches can also be restricted to specific areas, and the server API now supports pagination for handling large sets of results.

  4. MapKit JS Improvements: The initialization process for MapKit JS has been simplified, and a new token provisioning tool has been introduced to streamline the generation of domain-specific token strings.

  5. Adaptive Maps: MapKit JS now supports adaptive maps that can adjust to the system's preferred color scheme, whether light or dark.

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