Category Archives: Objective-C
Time to wrap up this 3 part series and put the final polish on our map. We need to do two basic thing. We need to replace the native pin annotation views with our custom views and we need to center the map to the selected pin.
Here we go with Part 2 of “Finding Business Listings and Displaying with MapKit”. In the first part we looked at how to gather the data from Google Maps. Now, we are going to take that data and display it using the MapKit API. We are also going to find our map’s center point using CoreLocation.
In this three part series, I want to show you how you can easily show a user business listings based on their current location. To do so we’ll be using the CoreLocation and MapKit Frameworks. First, we need a way to actually find nearby businesses. There are a number of third-party mapping API’s out there, some with paid subscription, but for a simpler application there is a simpler solution. For the first part in this series we are going to connect to the Google Maps service directly and retrieve xml output with which we will later use to populate MapKit.