MapKit

For displaying a map, Apple provides the MapKit framework, which uses Apple’s mapping service and lets you very easily display a map, detect the user’s location, add overlays, and plot any location on the map using different kinds of pins and callouts. The map can also perform reverse geocoding. All the MapKit classes are prefixed with MK.

iOS Versus Android: Setting Up to Use Maps

There’s quite a bit more work in setting up to work with maps on Android. Whereas iOS comes bundled with all the necessary frameworks and libraries, on Android, the developer needs to download the Google Play SDK and register for a Google Maps API key.

By registering for an API key, any hits to the Google Maps API can be associated with a particular app. With ...

Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.