- Copied complete Lts/Tools directory from qt5-before to qt6-after - Updated 32 CMakeLists.txt files (Qt5:: → Qt6::) - Tools subdirectory already included in parent Lts/CMakeLists.txt - All 72 tool submodules now present in qt6-migrated-legatus - Includes: Adler, ArAssets, ConfigX, DBAdministration, DBUpdate, DdsView, InfrastructureManagement, and 67 more tools - C++17 standard (RTI 7.7.0 compatibility maintained) - Tests deferred until final validation phase Migration progress: ✅ Lts/Application (68 files) ✅ Lts/DDS (verified Qt6-ready) ✅ Lts/Plugins (60 submodules, verified) ✅ Lts/Projects (5 submodules, verified) ✅ Lts/Proxies (13 submodules, verified) ✅ Lts/Services (47 submodules, verified) ✅ Lts/Tools (72 submodules, copied + CMake updated) ✅ Lts/Viewer (LtsFileDialog, LtsReportDisplay, SituationMap) 🟡 TetraIF (partial) 🟡 Z (partial: nglwidgets, QtSingleApplication, qsql_informix, WMS_Interface)
32 lines
751 B
JavaScript
Executable File
32 lines
751 B
JavaScript
Executable File
var formen = [{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"farbe": "red",
|
|
"info": "BT 56"
|
|
},
|
|
"geometry": {
|
|
"type": "Polygon",
|
|
"coordinates": [[
|
|
[ 8.896696195006372, 53.054442380171004], //Reihenfolge umgekehrt: LonLat
|
|
[ 8.896603155881166, 53.05449229656882],
|
|
[ 8.896517828106882, 53.054433855886636],
|
|
[ 8.89661053195596 , 53.05438418124448]
|
|
]]
|
|
}
|
|
}
|
|
|
|
];
|
|
|
|
L.geoJson(formen,{
|
|
style: function(feature){
|
|
return {weight: 1, color: feature.properties.farbe};
|
|
},
|
|
onEachFeature: onEachFeature
|
|
}
|
|
).addTo(map);
|
|
|
|
function onEachFeature(feature, layer) {
|
|
if (feature.properties && feature.properties.info) {
|
|
layer.bindPopup(feature.properties.info);
|
|
}
|
|
} |