code: def _marker_layer_options(
      locations, hover_text, label, info_box_content, display_info_box
  ):
      number_markers = len(locations)
      if is_atomic(hover_text):
          hover_text = [hover_text] * number_markers
      if is_atomic(label):
          label = [label] * number_markers
      if is_atomic(info_box_content):
          info_box_content = [info_box_content] * number_markers
  
      marker_options = {
          "location": locations_to_list(locations),
          "hover_text": hover_text,
          "label": label,
      }
  
      info_box_options = _info_box_option_lists(
          number_markers, info_box_content, display_info_box
      )
  
      marker_options.update(info_box_options)
  
      return merge_option_dicts(marker_options)
  
imports: import ipywidgets
  from traitlets import Unicode, Int, List, observe, HasTraits, Bool
  import gmaps.geotraitlets
  import gmaps.bounds
  from .maps import DEFAULT_CENTER, GMapsWidgetMixin
  from .locations import locations_to_list
  from .options import merge_option_dicts, is_atomic, is_color_atomic
  from ._docutils import doc_subst
label_desc: Use image node_id 4 for calling a global function with example usage: _marker_layer_options(locations, hover_text, label, info_box_content, display_info_box) and returns: merge_option_dicts