Places UI Kit: A ready-to-use library that provides room for customization and low-code development. Try it out, and share yourinput on your UI Kit experience.

Places in Maps JavaScript API

  • The Maps JavaScript API lets you integrate Google's Place data into your applications, offering detailed location information through a customizable search feature.

  • You can utilize the Places UI Kit to easily incorporate pre-built Google Maps user experiences like search and autocomplete into your apps.

  • The legacy Places service is being replaced by the Place class, offering a more modern approach to location data with support for Promises and detailed location details.

  • Access a variety of Maps JavaScript API features including markers, location data, custom map styles, and interactive data layers.

  • Work with Maps JavaScript API services such as directions, distance matrix, elevation, geocoding, maximum zoom imagery, and street view.

Overview

The Maps JavaScript API offers a variety of options to integrate Google's Place data into your apps.

Place class

ThePlace class is the canonical API representation of a location used in the Places Library. With the Place class, you can make detailed location data available to your users through an intelligent search feature that you can customize to suit your needs. Data from the Places service represents one of the most accurate, up-to-date, and comprehensive place models of the real world.

Places UI Kit

ThePlaces UI Kit is an easy-to-use, customizable, and low-cost component library that lets you bring familiar and trusted Google Maps user experiences to your apps. Places UI Kit elements are available in thePlaces Library and theElevation Library.

Places Service (Legacy)

ThePlaces Library, Maps JavaScript API contains methods and data for the legacy Places service, which have been replaced by thePlace class. SeeMigrate to Places (New) for guides to help you migrate your apps to use the Place class in the Places Library.

Place class

The Place class provides an API for using the Places library, and supports modern usage patterns such asPromises. With the Place class, you can create location-aware features in your app and make detailed location data available to your users through an intelligent search feature you customize to your needs. The data from the Places service is one of the most accurate, up-to-date, and comprehensive place models of the real world.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-21 UTC.