Introducing Places UI Kit: A ready-to-use, low-cost component library that lets you bring the familiar Google Maps UI for Places to any map of your choice. Try it out, andshare your input to help shape the future of GMP!

google.maps

google.mapsnamespace

google.mapsnamespace

Constants

versionGoogle Maps JavaScript API version loaded by the browser. Seehttps://developers.google.com/maps/documentation/javascript/versions

Static Methods

importLibrary
importLibrary(libraryName)
Parameters: 
  • libraryNamestring
Loads alibrary of the Maps JavaScript API, resolving with the direct members of that API (without namespacing). (When loaded, libraries also add themselves to the globalgoogle.maps namespace, though using the global namespace is not generally recommended.)

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-07-18 UTC.