This website works better with JavaScript
Ana Sayfa
Keşfet
Yardım
Üye Ol
Giriş Yap
ChenJZ
/
City-Lifeline-Cockpit
İzle
1
Yıldızla
0
Çatalla
0
Dosyalar
Sorunlar
0
Değişiklik İstekleri
0
Wiki
Ağaç:
147bcedf48
Dallar
Biçim İmleri
master
City-Lifelin...
/
dynamic-component-service-master
/
openspec
/
changes
/
add-bus-line-network-component
/
tasks.md
tasks.md
1.1 KB
Geçmiş
Ham
1. Reference and Contract
1.1 Inspect the Mars3D reference code and confirm the data URL and route style.
1.2 Inspect the GeoJSON enough to confirm feature count, geometry type, and coordinate volume.
2. Component
2.1 Add
src/components/busLineNetworkComponent.vue
with remote GeoJSON loading, coordinate projection, route sampling, line creation, and cleanup.
2.2 Add style controls for line width, opacity, color theme, height buckets, and pulse animation.
3. Service Integration
3.1 Register the component in
src/dcsConfig.ts
with defaults, Object3D placement, and config-panel schema.
3.2 Add a preview asset for the new component card.
4. Validation
4.1 Run the project build or report any environment/repo-wide blocker.
4.2 Confirm no generic preview views were modified.
5. Follow-up Data Source Refinement
5.1 Download the Mars3D Beijing bus GeoJSON to
public/data/bj-bus.json
.
5.2 Change defaults to load the local GeoJSON asset.
5.3 Replace the data source selector with URL text input plus a confirm generation action.