New pricing changes went into effect on July 16, 2018. For more information, check out the Guide for Existing Users.

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...