This switches demo pages and modules to local web/vendor assets, fixes Three GLTFLoader local import resolution, and documents the runtime-data/agent commit workflow updates. Made-with: Cursor
This commit is contained in:
@@ -32,7 +32,7 @@ web/
|
||||
2. Open:
|
||||
- `http://localhost:8122/web/`
|
||||
- `http://localhost:8122/web/leaflet-demo.html` (Leaflet map demo for 3D/image placement + sharing)
|
||||
- `http://localhost:8122/web/maplibre-demo.html` (MapLibre GL vector tiles + Three.js object rendering/placement)
|
||||
- `http://localhost:8122/web/maplibre-demo.html` (MapLibre GL raster tiles + Three.js GLB/GLTF object rendering/placement)
|
||||
|
||||
### Runtime dependencies
|
||||
|
||||
@@ -63,9 +63,11 @@ web/
|
||||
- upload via backend endpoint (`/v1/assets/{id}/upload`)
|
||||
- copy/open share link and toggle public/private visibility
|
||||
- MapLibre GL + Three.js example:
|
||||
- vector tile basemap via MapLibre style
|
||||
- raster OSM basemap via MapLibre style
|
||||
- map click to place object position
|
||||
- 3D marker rendering in custom Three.js layer
|
||||
- custom Three.js layer loads real `glb`/`gltf` assets via `GLTFLoader`
|
||||
- private assets are loaded with bearer auth header when user is logged in
|
||||
- fallback primitive is rendered if model load fails or no 3D asset is linked
|
||||
- asset upload/link and share/visibility controls backed by API
|
||||
|
||||
## TypeScript client (`libs/geo-api-client`)
|
||||
|
||||
Reference in New Issue
Block a user