What problem does it solve?
This Skill provides a modular React component library to design and edit warehouse maps, enabling interactive floor plans, location visualization, and spatial management without building the UI from scratch.
Core Features & Use Cases
- WMSMapModal for map editing and viewing; supports multiple layers, backgrounds, and draggable regions.
- Data structures and types for Map, MapBackground, MapRectangleRange, and MapPolygonRange to model warehouse layouts; compatible with React and TypeScript.
- Use cases include warehouse floor-plan editing, asset placement visualization, and multi-level zoning with undo/redo support via the internal history hooks.
Quick Start
Install the library in a React project using npm or yarn, then import and render the WMSMapModal component. Provide initial map data or load from an API, and optionally wire up onUpload handlers for asset management. Example steps: npm install @rytass/wms-map-react-components @xyflow/react, import { WMSMapModal } from '@rytass/wms-map-react-components', render with required props like open and onClose.