NPM Package/docs/workflows/facility-management/verification
Facility Management Verification Checklist
Verify floor-plan space mapping and room metadata synchronization before release.
Run these checks with a real floor plan loaded through the NPM Viewer.
- Add space is disabled until the Viewer is ready and the floor plan is open.
- Add space calls
viewer.tools.set(...)with actionSHAPE_POLYGONand facility hatch styling. - The metadata dialog opens only after
viewer.annotations.on("created", ...)returns an annotation ID. - Saving a space stores room metadata with the created annotation ID.
- Selecting a saved space calls
viewer.annotations.select(...). - Selecting the hatch in Canvas opens the matching space in edit mode.
- Updating metadata does not create a duplicate space record.
- Unmount destroys the Viewer and removes annotation listeners.
