Maps for Developers
Give your apps a sense of place with maps and location information. Present maps with custom annotations, highlighted regions, and overlays. Offer your users full control to pan, rotate, zoom, and move the map around in 3D, and show users their current location or guide them to their next destination using direction APIs.
Documentation and Reference
- Location and Maps Programming Guide Learn how to provide geographical context for your apps with location services and maps.
- App Distribution Guide: Configuring Maps Learn how to enable the Maps service in your project and configure Maps in iTunes Connect.
- MapKit Reference Use MapKit APIs to embed maps directly into your app and support map annotation as well as overlays.
- Core Location Framework Reference Use Core Location APIs to determine the current location or heading of a device.
Sample Code
- Breadcrumb Use the MapKit overlay (MKOverlayView) to draw a path that follows and tracks a user's current location.
- PhotoMap Load and display geotagged photos as MapKit annotations.
- Footprint: Indoor Positioning with Core Location Use Core Location to take the latitude and longitude postion of a device and display it onto a flat floor plan.
- AirLocate Download sample code that uses CLLocationManager to monitor and range CLBeaconRegions.
- HazardMap Create a custom MapKit overlay on top of a MKMapView.
- MapSearch Search for map-based addresses and points of interest using using a natural language string.
- CurrentAddress Display a map view and set the current location of a device using MapKit.