Rust (a programming language similar to C++) based territory designer and manager software.
cd ui
npm install
ng build
cd ..
cargo build --releaseRun
.\target\release\finalApproach.exePowerShell Run
$env:RUST_LOG="info"; cargo run- all in one page, all components are dialogs
- fake sftp and webserver during developing mode
- ...
ng generate component info-dialoghttps://jossef.github.io/material-design-icons-iconfont/
https://openlayers.org/en/latest/examples/export-map.html
-- finalApproach.exe
-- data
-- settings.json
-- territories
-- mapdesign
-- public
-- index.html ... (ui)
-- data
- Design the map
- Save the map design as a JSON file inside data/mapdesign
- The map design includes the territory definitions, colors, and other settings.
- The JSON file should be named according to the map design (e.g.,
my_map_design.json). - Temporary files are stored in
data/mapdesign/tempand contains a timestamp in the filename. - The map design can be saved multiple times, overwriting the previous version.
- Create a territory definition
- Territories are defined in the
data/territoriesfolder. - Each territory is a JSON file with its own properties (e.g., number, name, color, coordinates).
- The territory definitions can be created and edited through the UI.
- Territories are defined in the
- Export the map design (extra export button appears, else if settings are not set it is disabled)