This pod contains the Google Maps SDK for iOS, supporting both Objective C and Swift.
Use the Google Maps SDK for iOS to enrich your app with interactive maps and immersive street view panoramas, and add your own custom elements such as markers, windows and polylines.
-
Guides: Read our Getting Started guides.
-
Demo Videos: View pre-recorded online demos.
-
Code samples: In order to try out our demo app, use:
$ pod try GoogleMaps
and follow the instructions on our developer pages.
-
Support: Find support from various channels and communities.
- Support pages for Google Maps SDK for iOS.
- Stack Overflow, using the google-maps tag.
- Google Maps APIs Premium Plan customers have access to business-level support through Google's Enterprise Support Portal.
-
Report issues: Use our issue tracker to file a bug or a feature request.
To integrate Google Maps SDK for iOS into your Xcode project using CocoaPods,
specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target 'YOUR_APPLICATION_TARGET_NAME_HERE' do
pod 'GoogleMaps'
end
Then, run the following command:
$ pod install
Before you can start using the API, you have to activate it in the Google Developer Console and integrate the respective API key in your project. For detailed installation instructions, visit Google's Getting Started Guides for the Google Maps SDK for iOS.
If you are using the Google Places API for iOS as part of the Google Maps SDK for iOS version 1 please check the migration guide for more information on upgrading your project.
By using the Google Maps SDK for iOS you accept Google's Terms of Service and Policies. Pay attention particularly to the following aspects:
- Depending on your app and use case, you may be required to display attribution. Read more about attribution requirements.
- Your API usage is subject to quota limitations. Read more about usage limits.
- The Terms of Service are a comprehensive description of the legal contract that you enter with Google by using the Google Maps SDK for iOS. You may want to pay special attention to section 10, as it talks in detail about what you can do with the API, and what you can't.