Display a map that is relevant to the user by filtering points of interest and search results, and constraining the visible region.
SDKs
- iOS 13.0+
- Xcode 11.0+
Framework
- Map
Kit
Overview
This sample code demonstrates three features that can make a map relevant to your users:
Constraining the map view’s visible region and zoom to keep the desired areas in view.
Filtering the points of interest to reduce the clutter on the map view.
Filtering search result types and points of interest to improve to search and autocompletion.
Note
This sample code project is associated with WWDC 2019 session 236: What’s New in MapKit and MapKit JS.