## [0.1.6] – 2026-05-14 ### Added - Layer Manager dock: **Import layers** panel with two buttons: - *Import layers from APP-6D JSON file…* — browse any path on the filesystem. - *Import from data folder…* — opens directly in the MilSymb data directory (convenient for bundled or previously saved files). - Imported layers are appended to the current project; duplicate names get an automatic numeric suffix (`Layer (2)`, …). - Supports all three JSON formats: multi-layer (`layers`), single-layer (`layer`), and legacy flat (`symbols`). - `SymbolLayerManager.import_layer()` — new public method that appends a pre-populated `SymbolLayer` to the project and registers the backing `QgsVectorLayer` on the QGIS canvas. ### Changed - Layer Manager dock: export and import file dialogs now use the `*.app6d.json` extension (replacing the generic `*.json`) to avoid confusion with other JSON files; KMZ dialogs unchanged. - Symbol Editor dock: **Text Modifiers** section is now a stable collapsible panel (closed by default). - Replaced `QGroupBox.setCheckable()` — which disrupted dock geometry when anchored — with a `QToolButton` header (`▶`/`▼`) + a hidden `QWidget` body. - Removed all `adjustSize()` calls from `edit_symbol`, `load_from_catalog`, and `_toggle_text_modifiers`; the surrounding `QScrollArea` handles height changes without disturbing the dock layout. --- ### Fixed - `milsymbol_engine.py`: `SyntaxError` in generated JS due to missing `f` prefix on last two lines of `as_svg` JS template (`}}` was not being interpreted as escaped braces, producing malformed JS). ### Added - Layer Manager dock: **Export all layers as KMZ** and **Export current layer as KMZ** buttons. - KMZ = ZIP archive containing `doc.kml` + `icons/<sidc>.png` for each placed symbol. - Icons rendered via `milsymbol_engine` → `QSvgRenderer` → `QImage` → PNG. - KML built with plain string concatenation + `html.escape()` (no `xml.etree.ElementTree.register_namespace`).
yes
intelligeo
2026-05-14T08:12:18.007533+00:00
3.16.0
3.99.0
None
no
Plugin Tags