Skip to content
aferre edited this page Oct 8, 2011 · 7 revisions

Welcome to the afGoogleMapsAPI-WS-iOS wiki!

Install

  1. Drag/drop the files in the iOS folder to your project in xcode. Use the Copy to target checkbox to make sure you won't loose it on the way. OR
  2. Drag/drop the *.framework file to your project in xcode. Use the Copy to target checkbox to make sure you won't loose it on the way.

Error Handling

When handling the errors returned by an afGoogleMapsAPIRequest, you should know a couple of things.

First, every HTTP related error is directly returned without any alteration. They are provided by the ASI-HTTP library.

The errors returned/caused by the afGoogleMapsAPI framwork or the Google Maps API Web Services are all wrapped under a common error code 666, which can be customized in afGoogleMapsAPIRequest.h.

API, at last!

Use Directions

Use Distance Matrix

Use Geocoding

Use Elevation

Use Places

Clone this wiki locally