code: def add_custom_geojson(geojson_key, geojson):
      global CUSTOM_GEOJSON
  
      suffix = 0
      while get_custom_geojson(
          "{}{}".format(geojson_key, suffix or "")
      ):
          suffix += 1
  
      geojson_key = "{}{}".format(
          geojson_key, suffix + 1 if suffix else ""
      )
      geojson["key"] = geojson_key
      CUSTOM_GEOJSON.append(geojson)
      return geojson_key
  
file_path: dtale/dtale/dash_application/custom_geojson.py
imports: import base64
  import json
  import pandas
  import dash_bootstrap_components
  from dash.dependencies import Input, Output, State
  from dtale.dash_application import dcc, html
  from dtale.dash_application.exceptions import DtalePreventUpdate
  from dtale.dash_application.layout.utils import build_input, build_option
  from dtale.translations import text
label_desc: Use image node_id 2 for calling a global function with example usage: add_custom_geojson(geojson_key, geojson) and returns: geojson_key