Skip to content

Floor Plan Management

Module: Floor Plan Management  |  Audience: Admin, Owner


Table of Contents


Overview

A floor plan is a picture (PDF, JPG or PNG) of a physical space that is linked to one Location in your location tree. On top of that picture you draw sub-location areas (rectangles, squares, circles) and link each area to a child Location. Assets that sit in a child Location are then shown inside its area, so you can see where in a building an asset is.

Prerequisites 1. The Site and the Location tree exist (see Master Data Configuration — Locations). Typically you attach a floor plan to a Floor (or Building/Block) and draw its Zones/Rooms/Sub-locations as areas. 2. You have the floor-plan permission for your role (the Floor Plan Management menu is shown only when your role has it; editing/uploading/deleting use the Add, Edit/Manage and Delete floor-plan permissions respectively). 3. You have the drawing as a PDF/JPG/PNG file.

Menu: Floor Plan Management has two entries — Floor Plans (manage the files) and Interactive Editor (draw areas).


Floor Plan List

Path: Sidebar → Floor Plan Management → Floor Plans  |  URL: /floor-plans (page title "Floor Plans Listing")

A paged, sortable table of floor plans (columns come from your table configuration — typically name, location, dates). Column headers have search/filter controls and Clear Filters resets them.

Control What it does
Upload Floor Plan (top right) Opens the Upload Floor Plan pop-up. Needs the Add floor-plan permission.
Row View Opens the floor plan view page.
Row Edit Opens the Edit Floor Plan page.
Row Delete Confirmation "Are you sure you want to delete this floor plan? This action cannot be undone." The floor plan is soft-deleted (hidden), and its name becomes reusable for that location.

The address /floor-plans/interactive shows the same list with the heading "Interactive Floor Plans". It is a convenience listing and has no menu entry.


Uploading a Floor Plan

Path: Floor Plans → Upload Floor Plan

The pop-up is a three-step flow shown as a stepper: Select File → Enter Details → Upload.

Step 1 — Select File: drag and drop, or click to browse.

Rule Value
Allowed types PDF, JPG / JPEG, PNG (SVG and other formats are not accepted)
File size At least 100 KB and at most 5 MB
Image dimensions At least 400 × 300 px (images only)
PDF Must contain at least one page; the first page is used

If the file fails a rule, an error banner explains why (for example "File size must be less than 5MB"). Use the remove icon to pick another file.

Step 2 — Enter Details

Field Label on Screen Type Required Validation Depends On
Name "Floor Plan Name" Text Yes 2–100 characters on screen; unique per Location (a duplicate gets "A floor plan with this name already exists in the selected location") —
Description "Description" Text Area No Up to 500 characters —
Location "Location *" Tree select (searchable) Yes Pick from the location hierarchy. If you opened the pop-up for a specific location, it is pre-selected and locked Locations

If no locations exist, the pop-up shows "No locations available. Please create a location first." — create the Site/Location first.

Step 3 — Upload: click Upload Floor Plan (Cancel closes the pop-up). A progress panel "Uploading Floor Plan..." is shown while AMS: 1. Validates and stores the original document. 2. Generates a preview image and the picture dimensions. 3. Builds zoom tiles so large drawings open quickly.

When finished the list refreshes and the new plan appears.

Why Location matters: the Location you pick becomes the root of the Interactive Editor — only that location and its descendants can be linked to areas drawn on this plan.


Viewing a Floor Plan

Path: Floor Plans → row View  |  URL: /floor-plans/:id

The view page shows:

  • Details: Name, Description, File Name, Location, Created Date, Updated Date, Created By, Updated By.
  • A preview card titled with the file name, with a Download button (downloads the original file) and viewer controls: Zoom In (+), Zoom Out (-), Fit to Screen (0), Reset View (R), Fullscreen (F11); hold Ctrl and scroll to zoom. A status bar shows the location, zoom level and image size.

The view page is a read-only picture. Areas and asset markers are managed in the Interactive Editor.


Editing a Floor Plan

Path: Floor Plans → row Edit  |  URL: /floor-plans/:id/edit (page title "Edit Floor Plan")

Basic Details

Field Label on Screen Required Notes
Floor Plan Name "Floor Plan Name" Yes Unique per location
Active "Active" switch — Switching it off marks the floor plan as deleted when you save
Description "Description" No —
Location "Location" Yes Tree select ("Location is required for floor plan")

Current Floor Plan Image: shows the current file (format and pixel size). To replace the picture, drop or browse for a new PDF/JPG/PNG and click Upload (the remove icon discards the selection). The image is replaced immediately and the toast "Floor plan image updated successfully!" appears — it does not wait for the main save button. The same file rules as the original upload apply.

Click Edit Floor Plan (bottom bar) to save name/description/location/status changes, or Cancel.


Interactive Editor

Path: Sidebar → Floor Plan Management → Interactive Editor  |  URL: /interactive-editor → /interactive-editor/:id

  1. Open Interactive Editor. The first screen is "Interactive Floor Plan Editor — Select Floor Plan to Edit": choose a plan in Choose Floor Plan (each entry shows file type, size and location). If there are no floor plans an info message offers Go to Floor Plans.
  2. The editor opens with the title Interactive Editor : and a Back to Selection button.
  3. Changes to areas are saved to the server as you complete each action; drag/edit changes of existing areas are collected as pending and saved with Save Changes.

Top bar

Control What it does
Sidebar toggle Hide / show the left panel
Zoom slider, Zoom In, Zoom Out, Fit to Screen Navigation (0.1× to 5×)
Undo (Ctrl+Z) / Redo (Ctrl+Y) Undo/redo area edits made in the session
Refresh Floor Plan Reloads areas and asset markers from the server
Cancel Changes (appears only with pending edits) Discards pending edits
Save Changes (shows a count when edits are pending) Saves pending edits; shown in edit mode
Status chip "Edit Mode" etc., with "n pending" while unsaved edits exist

Left panel

Section Purpose
Editor Tools Select (select and manipulate areas), Draw (draw new areas), Pan (move around)
Drawing Tools (only when Draw is active) Square, Rectangle, Circle — click and drag on the plan
Location Hierarchy Tree of the floor plan's location and its children; ★ marks the floor plan's own location
Layer Visibility Switches for Sub-Locations (the areas) and Assets (the asset markers/counts)
Sub-Locations (n) List of areas; parents first, children indented with "↳". Click one to select it on the canvas

Drawing an area (polygon)

  1. Pick Draw, then a drawing tool, and drag on the plan. A shape that is too small or flat is rejected ("Shape is too small or flat. Click and drag to draw a larger area."). Esc cancels drawing.
  2. The Create New Polygon pop-up opens ("Define a new area on your floor plan"). Fields: Polygon Name (required), Assign to Sub-Location (Required) — a tree of the floor plan's location and its descendants — and Description (Optional). A "Polygon Information" panel shows points/area and a Valid / Invalid chip.
  3. Click Create Polygon (or Cancel).

Rules enforced when saving an area - Each Location can have only one area per floor plan. - An area needs at least 3 points, no self-crossing, and a minimum size; coordinates cannot be negative. - A child Location's area must lie inside its parent Location's area (if the parent already has one). Draw parents first for clarity, though the order is flexible. - Areas of sibling locations (same parent) must not overlap. - The area must stay within the picture.

Working with existing areas

  • Click an area (Select tool) to select it: a Polygon Selected bar appears with Delete Polygon and Cancel Selection. Where areas overlap, clicking again cycles to the next one underneath.
  • Drag the handles (vertices) to reshape an area; the edit becomes a pending change.
  • Double-click an area to open Assign Polygon to Sub-Location: rename the polygon (Polygon Name), see Currently Assigned To, and choose another sub-location. If none is assigned an info message says so.
  • Delete Polygon opens Delete Sub-Location ("This action cannot be undone"). It removes the area from the plan; the Location itself is untouched, but assets positioned in that area may become unassigned on the plan.

Asset Positioning

Asset markers are placed automatically, based on each asset's Location (see Asset Management):

  • When the plan loads, assets whose Location has an area are spread inside that area. An asset must stay inside the area of its own Location.
  • A green count badge on an area shows how many assets are in it (visible when the Assets layer is on). Click it to open a pop-up listing those assets (with status).
  • Hover an asset marker for a tooltip; click it for Asset Information (category, asset id, position on the plan, "Auto-positioned"/"Manually positioned", the sub-location it is in, created/updated dates).

To move an asset to another area, change its Location (for example via Asset Transfer) — do not look for a drag control; the editor toolbar offers only Select, Draw and Pan.


Mislocation Detection

A Warehouse-type RFID reader flags an asset as mislocated whenever its last-scanned location disagrees with its assigned Location — see RFID Management — Warehouse Readers and Location Tracking and the Asset Location Mismatch Report. A detected location that is a child or parent of the expected location is not treated as a mismatch.


Master Data Used by This Module

Master Entity Where Used Purpose
Locations Floor plan Location; each area's sub-location Link the plan to a physical place and its sub-areas
Assets Markers inside areas (by asset Location) Show where assets are
RFID Readers Mislocation detection (separate from the editor) Compare scanned vs. assigned location

Related: RFID Management · Asset Management · Reports