small medium large xlarge

Using Map Kit


Cover image for Using Map Kit

Using Map Kit


Using the new Map Kit framework available in iPhone 3.0, you can embed customized maps within your iPhone application. In this screencast you’ll learn how to build an iPhone application from scratch that displays a map of recent earthquakes, shows custom annotations with callouts, and automatically zooms to a region of interest.

About this Title

Available in: DRM-free iPod/iPhone 3 Video, iPad/iPhone 4 Video, and Quicktime Video
Download and watch when and where you want

Watching this screencast is a great way to quickly get up to speed on the new Map Kit framework and integrate it into your iPhone applications. In addition to the videos, you can also download the full source code so you can follow along and experiment on your own.


This screencast assumes you have a basic understanding of Objective-C and Xcode. If you need a jump start, check out Coding in Objective-C 2.0 and Becoming Productive in Xcode.


Contents & Extracts

This screencast covers the following topics:

  • Understanding Map Kit terminology
  • Setting up a project from scratch
  • Creating a map view delegate
  • Displaying a basic map showing the user’s current location
  • Highlighting points of interest with custom annotations
  • Setting a map view region and zooming to a given region of interest
  • Adding callouts to annotations, specifically to show details in Safari
  • An example of how to use a web service to asynchronously fetch map data


Bill Dudney is a software developer and entrepreneur currently building software for the Mac. He’s also the author of iPhone SDK Development and Core Animation for OS X and the iPhone. Bill started his computing career on a NeXT cube with a magneto-optical drive running NeXTStep 0.9. He created several iPhone applications currently selling on the App Store. You can follow him on his blog.