This is a demo project showcasing features of Google Maps SDK and MapKit. If you speak German, please check out the article:
Landkarten in Apps
Vorteile und Nachteile der Karten-Frameworks von Apple und Google
Mac & i 4/2014, page 154
You must obtain an API key for the sample app in the Google APIs Console.
-
Create an API project in the Google APIs Console.
-
Select the Services pane in your API project, and enable the Google Maps SDK for iOS. This displays the Google Maps Terms of Service.
-
Select the API Access pane in the console, and click Create new iOS key.
-
Enter one or more bundle identifiers as listed in the project settings, in our case
com.example.SDKDemos
. -
Click Create.
-
In the API Access page, locate the section Key for iOS apps (with bundle identifiers) and note or copy the 40-character API key.
-
Open the project in Xcode
-
Download the GoogleMaps SDK and unzip it
-
Drag the
GoogleMaps.framework
bundle to the Frameworks group of your project.When prompted, select Copy items into destination group's folder:
-
Right-click
GoogleMaps.framework
in your project, and select Show In Finder. -
Drag the
GoogleMaps.bundle
from theResources
folder to your project. We suggest putting it in the Frameworks group.When prompted, ensure Copy items into destination group's folder is not selected:
-
Add your API key to
SDKDemoAPIKey.h
.