New pricing and product changes will go into effect starting June 11, 2018. For more information, check out the Guide for Existing Users.

Overview

Introduction

The Places SDK for iOS allows you to build location-aware apps that respond contextually to the local businesses and other places near the device. This means you can build rich apps based on places that mean something to the user.

Concepts

A place is defined as a physical space that has a name. Another way of thinking about a place is that it's anything you can find on a map. Examples include local businesses, points of interest, and geographic locations. In the API, a place is represented by the GMSPlace Class Reference. It includes information such as the name of the place and its address, geographical location, place ID, phone number, place type, website URL, and more.

API overview

Help your customers explore where they are and what’s around them:

  • Place Picker allows users to select a place on an interactive map.
  • Current Place returns a list of places where the user’s device is last know to be located along with an indication of the relative likelihood for each place.
  • Place Autocomplete automatically fills in the name and/or address of a place as users type.
  • Place Photos returns high-quality images of a place.
  • Place IDs and Details return and display more detailed information about a place.

Differentiate your app by supplying up-to-date local information:

  • Place Add adds a place to Google's Places database, for immediate retrieval from within your own app and for visibility with other apps after moderation.
  • Place Report creates a report indicating the current location of the device, helping Google build a local model of the world.
  • Place IDs stores the unique ID for one or more places for retrieval of place information on demand.

Other highlights of the API include:

  • Accurate place detection at low power with WiFi scan.
  • On-device caching: Most requests to the Places SDK for iOS may involve a round trip to a Google server, but you can also cache data locally for 30 days.

Policies and Terms

All applications that use the Places SDK for iOS must adhere to the requirements described in the Google Maps Platform APIs Terms of Service, the Usage Limits, and Displaying Attributions.

Feedback verzenden over...