Many improvements
This commit is contained in:
@@ -16,14 +16,17 @@ Static client-side yard mapping app.
|
||||
Core files:
|
||||
|
||||
- `src/lib/geometry.js`: absolute points, local offsets, feet conversion, per-anchor rotation support.
|
||||
- `src/lib/feature-types.js`: feature-kind style defaults.
|
||||
- `src/lib/yard-features.js`: typed feature classes, stable ids, groups, parent-child relationships, GeoJSON export.
|
||||
- `src/lib/feature-types.js`: feature-kind labels, geometry constraints, detail field schemas, and style defaults.
|
||||
- `src/lib/yard-features.js`: typed feature classes, stable ids, groups, parent-child relationships, schema metadata, GeoJSON export.
|
||||
- `src/data/*.js`: yard content split by domain.
|
||||
- `src/main.js`: Leaflet map, legend, popup rendering.
|
||||
|
||||
Top-level exported data shape from `src/data/yard.js`:
|
||||
|
||||
- `type: "FeatureCollection"`
|
||||
- `schemaVersion: 1`
|
||||
- `lifecycleFields: { startDate: "date", endDate: "date" }`
|
||||
- `featureTypes: [...]`
|
||||
- `features: [...]`
|
||||
- `groups: [...]`
|
||||
|
||||
@@ -33,10 +36,11 @@ Each feature currently exports:
|
||||
- `properties.kind`
|
||||
- `properties.label`
|
||||
- `properties.name`
|
||||
- `properties.startDate`
|
||||
- `properties.endDate`
|
||||
- `properties.parentId`
|
||||
- `properties.groupIds`
|
||||
- `properties.details`
|
||||
- `properties.style`
|
||||
|
||||
## Important decisions already made
|
||||
|
||||
|
||||
Reference in New Issue
Block a user