code: def shapefiles(
      fname,
      f_tooltip=None,
      color=None,
      linewidth=3,
      shape_type="full",
      encoding="utf-8",
      encodingErrors="strict",
  ):
      """
      Load and draws shapefiles
  
      :param fname: full path to the shapefile
      :param f_tooltip: function to generate a tooltip on mouseover
      :param color: color
      :param linewidth: line width
      :param shape_type: either full or bbox
      """
      from geoplotlib.layers import ShapefileLayer
  
      _global_config.layers.append(
          ShapefileLayer(
              fname,
              f_tooltip,
              color,
              linewidth,
              shape_type,
              encoding,
              encodingErrors,
          )
      )
  
imports: import base64
  import traceback
  import pyglet
  from geoplotlib.core import GeoplotlibApp
  from core import FONT_NAME
label_desc: Use image node_id 9 for calling a global function with example usage: shapefiles(fname, f_tooltip, color, linewidth, shape_type, encoding, encodingErrors) without return types