You're all set!

To start developing, please head over to our developer documentation.

Activate the Google Maps SDK for iOS

To get you started we'll guide you through the Google Developers Console to do a few things first:

  1. Create or choose a project
  2. Activate the Google Maps SDK for iOS
  3. Create appropriate keys
Continue

GMSOrientation Struct Reference

GMSOrientation Struct Reference

Overview

GMSOrientation is a tuple of heading and pitch used to control the viewing direction of a GMSPanoramaCamera.

Public Attributes

const CLLocationDirection heading
 The camera heading (horizontal angle) in degrees.
const double pitch
 The camera pitch (vertical angle), in degrees from the horizon.

Related Functions

(Note that these are not member functions.)

static GMSOrientation GMSOrientationMake (CLLocationDirection heading, double pitch)
 Returns a GMSOrientation with the given heading and pitch.

Friends And Related Function Documentation

static GMSOrientation GMSOrientationMake ( CLLocationDirection  heading,
double  pitch 
) [related]

Returns a GMSOrientation with the given heading and pitch.


Member Data Documentation

const CLLocationDirection GMSOrientation::heading

The camera heading (horizontal angle) in degrees.

const double GMSOrientation::pitch

The camera pitch (vertical angle), in degrees from the horizon.

The pitch range is [-90,90], although it is possible that not the full range is supported.

Send feedback about...

Google Maps SDK for iOS
Google Maps SDK for iOS
Need help? Visit our support page.