feat(geo): real-time attendance map on OpenStreetMap tiles
New GeoAttendance scene plus Attendance Map chip on Landing. Uses react-leaflet 4 + leaflet 1.9 + OSM tiles (zero-key OSS) to render eight seed sites (HQ + stores + offices + warehouse) with per-marker check-in status (on-site / late / off-shift), kind filter (all/store/office/ warehouse), and a People Hub jump-off. Auto-fits to the visible markers. OSS stack: react-leaflet@4, leaflet@1.9.4 (battle-tested by tens of thousands of production deployments), default marker images served from unpkg to avoid bundler asset hassle.
This commit is contained in:
@@ -11,6 +11,7 @@ import SsoCallback from "./scenes/SsoCallback";
|
||||
import Chat from "./scenes/Chat";
|
||||
import Agent from "./scenes/Agent";
|
||||
import Hub from "./scenes/Hub";
|
||||
import GeoAttendance from "./scenes/GeoAttendance";
|
||||
import CommandBar from "./components/CommandBar";
|
||||
import Toaster from "./components/Toaster";
|
||||
import Console from "./components/Console";
|
||||
@@ -163,6 +164,7 @@ export default function App() {
|
||||
{scene === "hub-procurement" && <Hub hub="procurement" />}
|
||||
{scene === "hub-hr" && <Hub hub="hr" />}
|
||||
{scene === "hub-it" && <Hub hub="it" />}
|
||||
{scene === "geo-attendance" && <GeoAttendance />}
|
||||
{scene === "settings" && <Settings />}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user