Lockyard

Occupancy map

Who it is for

Customers.

What you can do

  • Open /rent/[facilityId]/map to see the facility map.
  • Read the color legend: available, occupied, unavailable.
  • See each unit's number on the map.

How it works

  • Route: /rent/[facilityId]/map (app/rent/[facilityId]/map/page.tsx).
  • Data comes from listPublicMap in actions/publicMap.ts.
  • The map is drawn by components/rent/PublicMap.tsx.
  • The map colors a unit available, occupied, or unavailable and labels it with the unit number only.

Limits

  • The public map does not include a tenant name, tenant id, lease id, or gate code.
  • The public map is read-only; it does not edit positions.
  • Only units with saved positions appear on the map.