whats new in maps
Asked on 07/30/2024
2 searches
At WWDC 2024, Apple introduced several new features in MapKit and MapKit JS. Here are the key updates:
-
Place ID: A new identifier for places that can be used to reference locations represented by map items in MapKit. This allows for easier and more accurate referencing of places across different platforms and applications.
-
Place Cards: These can be used to display detailed information about a place in various styles, such as a large full presentation, a compact presentation, or just a link to view the place in the Maps app. Place cards can be used even if your app or website doesn't feature a map view.
-
Search Enhancements: The search APIs have been improved to allow for more specific and efficient searches. You can now search for more types of places, such as music venues, skateparks, castles, physical features like rivers or mountain ranges, and specific components of an address like city or postal code. Searches can also be restricted to a specific bounding region.
-
Pagination in Server API: The MapKit server API now supports pagination, allowing for searches with a large number of results to be handled more efficiently.
-
MapKit JS Improvements: The token provisioning process for MapKit JS has been simplified, making it easier to get started. Additionally, adaptive maps that respect the system's preferred color scheme (light or dark) can now be created.
-
Embeds: A new low-code solution for embedding maps into websites. The Create a Map tool on the developer website generates HTML that can be easily copied and pasted.
For more detailed information, you can refer to the session Unlock the power of places with MapKit.