class_docstr: Style options for a marker
  
  {marker_options}
class_docstr_tok: ["Style","options","for","a","marker","{","marker_options","}"]
docstr: Construct a marker with these options
  
  This constructs an instance of :class:`gmaps.Marker` with these
  style options.
  
  :param latitude: Latitude of the marker, expressed as a float
      between -90 (corresponding to 90 degrees south) and +90
      (corresponding to 90 degrees north).
  :type latitude: float
  
  :param longitude: Longitude of the marker, expressed as a
      float between -180 (corresponding to 180 degrees west)
      and +180 (corresponding to 180 degrees east).
  :type longitude: float
docstr_tok: ["Construct","a","marker","with","these","options","This","constructs","an","instance","of",":","class",":","`","gmaps.Marker","`","with","these","style","options",".",":","param","latitude",":","Latitude","of","the","marker",",","expressed","as","a","float","between","-90","(","corresponding","to","90","degrees","south",")","and","+90","(","corresponding","to","90","degrees","north",")",".",":","type","latitude",":","float",":","param","longitude",":","Longitude","of","the","marker",",","expressed","as","a","float","between","-180","(","corresponding","to","180","degrees","west",")","and","+180","(","corresponding","to","180","degrees","east",")",".",":","type","longitude",":","float"]
code: def to_marker(self, latitude, longitude):
      """
      Construct a marker with these options
  
      This constructs an instance of :class:`gmaps.Marker` with these
      style options.
  
      :param latitude: Latitude of the marker, expressed as a float
          between -90 (corresponding to 90 degrees south) and +90
          (corresponding to 90 degrees north).
      :type latitude: float
  
      :param longitude: Longitude of the marker, expressed as a
          float between -180 (corresponding to 180 degrees west)
          and +180 (corresponding to 180 degrees east).
      :type longitude: float
      """
      new_marker = Marker(
          location=(latitude, longitude),
          hover_text=self.hover_text,
          display_info_box=self.display_info_box,
          info_box_content=self.info_box_content,
          label=self.label,
      )
      return new_marker
  
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 2 for calling the MarkerOptions obj's underlying member method code with example usage: obj.to_marker(latitude, longitude) and returns: new_marker