code: def gmap(google_api_key, map_options, **kwargs) -> GMap:
      """Create a new :class:`~bokeh.plotting.GMap` for plotting.
  
      Args:
          google_api_key (str):
              Google requires an API key be supplied for maps to function. See:
  
              https://developers.google.com/maps/documentation/javascript/get-api-key
  
              The Google API key will be stored as a base64-encoded string in
              the Bokeh Document JSON.
  
          map_options: (:class:`~bokeh.models.map_plots.GMapOptions`)
              Configuration specific to a Google Map
  
      All other keyword arguments are passed to :class:`~bokeh.plotting.GMap`.
  
      Returns:
         :class:`~bokeh.plotting.GMap`
  
      """
      return GMap(
          api_key=google_api_key, map_options=map_options, **kwargs
      )
  
file_path: bokeh/src/bokeh/plotting/gmap.py
imports: from __future__ import annotations
  import logging
  from ..models import GMapPlot, LinearAxis, MercatorTicker, MercatorTickFormatter, Range1d
  from ._figure import BaseFigureOptions
  from ._plot import _get_num_minor_ticks
  from ._tools import process_active_tools, process_tools_arg
  from .glyph_api import GlyphAPI
label_desc: Use image node_id 1 for calling a global function with example usage: gmap(google_api_key, map_options) and returns: GMap