ReadonlyidUnique module identifier within the GeoLeaf instance.
The registry enforces uniqueness — registering two modules with the same
id throws a GeoLeafError. Use lowercase kebab-case.
ReadonlydependenciesIDs of modules that must be fully initialised before this module's
init() is called.
The registry resolves a topological order from these declarations. An empty array means this module has no dependencies.
Use as const in implementing classes for best type inference:
readonly dependencies = ['poi', 'ui'] as const;
Initialises the module.
Called by the registry after all declared dependencies are ready. Guaranteed postconditions at call time:
adapter.isReady() returns trueconfig.isLoaded() returns truedependencies have completed their init()Returning void (synchronous) is allowed for modules that do not
perform async work. The registry handles both with Promise.resolve().
Resets the theme applier for the next application: its pending timer and the theme it applied, so a second mount starts like a first one. The layers themselves go with the GeoJSON state, torn down by the GeoJSON module and the lifecycle seam.
Applies the active profile's default theme once at boot, when themes exist. The selector no longer applies it (F2) — this is the single boot apply.
It applies the theme's layers and leaves the camera alone: where the map starts — the view that theme declares, or the profile extent — is decided when the map is created.