API / geotoolkit / schematics / factory / DefaultMap / DefaultMap
factory.DefaultMap.DefaultMap
Default componentName-to-componentFactory mapping
Constructors
Methods
▸ getClassName(): string
string
▸ Static getClassName(): string
string
▸ Static getElements(): { factory: AbstractComponentNodeFactory | (data?: Element) => ComponentNode ; name: string }[]
Gets array of componentName-to-componentFactory pairs
Example
// To retrieve a list of all components supported in SchematicsJS use the following call
import {DefaultMap} from '@int/geotoolkit/schematics/factory/DefaultMap';
const elements = DefaultMap.getElements();{ factory: AbstractComponentNodeFactory | (data?: Element) => ComponentNode ; name: string }[]