Security notice: We have become aware of a security issue that may be affecting websites using specific third-party libraries (including polyfill.io). This issue can sometimes redirect visitors away from the intended website without website owner knowledge or permission. Many of our JavaScript samples previously included a polyfill.io script declaration. We have removed this from our samples. If you have used our JavaScript samples that contain this declaration, we recommend removing the declaration.
Stay organized with collections
Save and categorize content based on your preferences.
Overview
The Place class provides a simple API for using the Places Library, Maps JavaScript API,
and supports modern usage patterns such as Promises.
The Places Library, Maps JavaScript API supports the following features:
Search for places
Text Search (New)
lets you search for place data using a text query.