@nativescript-community/ui-massifmaps
    Preparing search index...

    Function create

    • Spec keys are constructor params plus writable properties; nested source/style/assets are inline specs or registered ids. Re-creating an id with an IDENTICAL spec returns the same object; a different one is refused.

      Type Parameters

      • K extends Kind
      • T extends string

      Parameters

      Returns MassifObject<ClassOfSpec<K, T>>

    • For kinds with HAND-WRITTEN factories (projection, data, geometry, search/routing). className is REQUIRED, else this overload would accept a misspelt key in a kind the schema does describe.

      Type Parameters

      Parameters

      • kind: string
      • id: string
      • spec: { type: string } & { [key: string]: Json }
      • className: C

      Returns MassifObject<C>