Get a Maps Demo Key: Try out select Maps JavaScript API and Places UI Kit features at no cost with a Maps Demo Key—no billing information required.

google.maps

[フレーム]

google.maps namespace

google.maps namespace

Constants

version Google Maps JavaScript API version loaded by the browser. See https://developers.google.com/maps/documentation/javascript/versions

Static Methods

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

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

Last updated 2026年09月01日 UTC.