Map add-on for floor plan and seating
This is a map add-on that draws a floor plan with rooms, lines and tables.
Rooms can be added by floor (you can have multiple levels)
Rooms can contain tables that can be named and later searched
Floors can contain paths -- Paths can be connected to tables and thus a path from table to table can be gotten.
Floors, Rooms, Tables and Paths can be built -- By hand by giving lines -- Automatically collected from an image -- Paths and Tables can be automatically connected (nearest path node for table)
Tables can be searched and panned into view.
final SeatingMap map = new SeatingMap(); // ImageToLines utility. ImageToLines imageToLines = new ImageToLines(); // Use image in resources folder List<Line> roomLines = imageToLines.getLines("/org/percepta/mgrankvi/demo/RightSide.png"); // create a room on floor 1 from lines Room room = map.addRoom(1, roomLines);
Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.
Microsoft browsers not tested, but expected to work for Vaadin 8 supported versions
- Apache License 2.0
- Vaadin 8.0+
- Google Chrome