What are the latest updates in mapkit

Generated on 8/2/2024

1 search

The latest updates in MapKit, as presented at WWDC 2024, include several new features and improvements:

  1. Place Identifiers: MapKit now introduces an identifier for places, known as place id. This can be used to reference various points of interest such as museums, restaurants, parks, or schools. These identifiers are unique and remain valid over time, allowing apps to display up-to-date information without needing to update the code when the data changes (Unlock the power of places with MapKit).

  2. Place Cards: The Mapitem detail API and place detail API can be used to present place cards, which display detailed information about a place. These APIs are available for UIKit, AppKit, and SwiftUI, and can also be used in MapKit JS to include place cards as content on a webpage (Unlock the power of places with MapKit).

  3. Selection Accessory APIs: These APIs allow developers to show place information directly on the map. They are available for use with a variety of platforms and technologies (Unlock the power of places with MapKit).

  4. Simplified Initialization for MapKit JS: Initializing MapKit JS now requires less code. An asynchronous script tag with the MapKit JS source attribute and a data callback function is all that's needed. Additionally, the dynamic JWT generation process has been replaced with a streamlined UI that generates domain-specific token strings (Unlock the power of places with MapKit).

  5. Enhanced Search Capabilities: The latest version of MapKit makes it easier to search for places and restrict searches to specific areas. The MapKit server API now offers more results with pagination (Unlock the power of places with MapKit).

  6. Embeds for Websites: A new low-code solution allows developers to quickly add maps to their websites. The "Create a map" tool on the developer website generates HTML that can be copied and pasted to embed a map (Unlock the power of places with MapKit).

For a detailed overview of these updates, you can watch the session Unlock the power of places with MapKit.