You're all set!

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

Activate the Google Places API 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 Places API for iOS
  3. Create appropriate keys
Continue

GMSUserAddedPlace Class Reference

GMSUserAddedPlace Class Reference

Overview

Represents a place constructed by a user, suitable for adding to Google's collection of places.

All properties must be set before passing to GMSPlacesClient.addPlace, except that either website _or_ phoneNumber may be nil.

Note:
The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.

Properties

NSString * name
 Name of the place.
NSString * address
 Address of the place.
CLLocationCoordinate2D coordinate
 Location of the place.
NSString * phoneNumber
 Phone number of the place.
NSArray< NSString * > * types
 List of types of the place as an array of NSStrings, like the GMSPlace.types property.
NSString * website
 The website for the place.

Property Documentation

- (NSString*) name [read, write, copy]

Name of the place.

Note:
This is deprecated. The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.
- (NSString*) address [read, write, copy]

Address of the place.

Note:
This is deprecated. The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.
- (CLLocationCoordinate2D) coordinate [read, write, assign]

Location of the place.

Note:
This is deprecated. The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.
- (NSString*) phoneNumber [read, write, copy]

Phone number of the place.

Note:
This is deprecated. The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.
- (NSArray<NSString *>*) types [read, write, copy]

List of types of the place as an array of NSStrings, like the GMSPlace.types property.

Only table 1 types are valid.

Note:
This is deprecated. The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.
- (NSString*) website [read, write, copy]

The website for the place.

Note:
This is deprecated. The Add Place feature is deprecated as of June 30, 2017. This feature will be turned down on June 30, 2018, and will no longer be available after that date.

Send feedback about...

location_on
Google Places API for iOS