iPhone SDK 3.0 – Playing with Map Kit (ObjectGraph)

mapkit3_logo

[Editor’s note: Three part series on the new iPhone 3.0 map APIs for aspiring map application developers from the ObjectGraph.blog.]

Republished from the ObjectGraph.blog.

I started looking at the Map Kit API for developing a quick and dirty – Find where you parked your car – application.

There is no programming guide for Map Kit yet on the developer pages for Apple, So I decided to share some some of it here.

UPDATE: Follow the second part here
http://blog.objectgraph.com/index.php/2009/04/03/iphone-sdk-30-playing-with-map-kit-part-2/

I started looking at the Map Kit API for developing a quick and dirty – Find where you parked your car – application.

There is no programming guide for Map Kit yet on the developer pages for Apple, So I decided to share some some of it here.

The main class that supports a Map is called

MKMapView

You need to include the header

MapKit/MapKit.h

Also dont forget to add a reference to the Framework MapKit.Framework

The code is relatively simple. Here are the steps

  • Create a simple project – I chose utility application – Name it whatever you want
  • Go to MainViewController.h
  • Include the header MapKit/MapKit.h

Continue reading at ObjectGraph.blog . . .

Tags: , , , , , ,

One Response to “iPhone SDK 3.0 – Playing with Map Kit (ObjectGraph)”

  1. […] own GPS + phone plans already. Besides the added precision of the new hardware, it’ll be easier for developers to incorporate maps directly into their apps. We should see a whole new class of apps available. […]