FIMViz.jsAPI
    Preparing search index...

    Function create

    • create(target, options) — boot a FimMap on the ambient default app.

      Applies host config (set-once), validates it, injects the widget markup unless the page already provides it, boots the map, and resolves to the FimMap once it is ready. On mount failure the map is released so the single-instance guard does not stay stuck.

      Parameters

      • target: string | Element

        a container element, its id, or a CSS selector

      • Optionaloptions: any = {}

        see docs/usage/USAGE.md "Configuration"

      Returns Promise<FimMap> & {
          off: (evt: string, fn: Function) => any;
          on: (evt: string, fn: Function) => any;
      }