The Layer-Manager: create, save, load and delete layers

The Layer-Manager is where every MilX layer operation happens in map.army: adding a layer, and saving, loading or deleting layers. This page covers opening it and each of those operations in turn. For what a MilX layer actually is, how the .milxlyz format behaves, and how to set a layer active so you can draw on it, see MilX Layers.

The Layers panel at a glance

The map.army Layers panel's top edge: Open Layer-Manager, Share, Download, Filters and Show/Hide-all icons

Before you open the Layer-Manager, the plain Layers panel already carries five controls of its own along its top edge:

ControlWhat it does
Open Layer-ManagerSwitches the panel into editing mode — everything under Opening the Layer-Manager below
Share Military MapCreates a share link from your layers — see How to create a share
Download layers as a MilX fileOpens the Layer-Manager in its save mode, ready to save the layers to a local file — see Saving layers to a local MilX file below
FiltersNarrows the list to Only Visible, Only Approved or Only Editable layers
Show / Hide all and Zoom all layersApplies visibility or zoom to every layer at once

Filters change what you can reach, not just what you can see. With Only Approved set, an unapproved layer is absent from the list — so you cannot drag symbols onto it or activate it either. If a layer you expect is missing, clear the filter before assuming anything is wrong.

Hint: Show / Hide all and Zoom all layers are greyed out until you have more than one layer — with a single layer they would do nothing that the layer’s own buttons do not.

Opening the Layer-Manager

Every operation below starts the same way.

  1. Click Layers — the top-left button in the main window — to open the Layers menu. It opens on Local MilX Layers, with Vector Layers and Image Layers collapsed beneath.
    The 'Layers' button at the top left of the map.army main window, with its tooltip open
  2. Click Open Layer-Manager — the third icon at the top of the panel — to switch the panel into editing mode.
    The Layer-Manager toolbar in the 'Local MilX Layers' panel, with 'New MilX Layer' hovered

Click Close Layer-Manager — the second icon — to return to the plain layer list. Two mode switches sit at the right of the top bar, Reorganize Layers and Delete Layers; click an active mode again to leave it. The up/down glyph next to Close Layer-Manager is a state indicator rather than a button.

The other buttons sit on the header of each layer group — Local MilX Layers, Shared MilX Layers — and act on that group:

Group buttonWhat it does
New MilX Layer (first icon)Adds a new, empty MilX layer to the bottom of the list
Load MilX (second icon)Opens a local .milxlyz or .milxly file and adds its layers to the map
Save as MilX (third icon)Switches the list into selection mode so you can save layers to a local file
Export/Import in other formats (globe, fourth icon)The route to every non-MilX format — KML export and, where it is enabled, NVG export and import. See KML / KMZ Export and NVG
Reorganize Layers (top bar, right)A mode switch. Turn it on to drag layers into a new order or into another MilX group; while it is on, a banner reads Reorganize Mode is active: Layers can be moved or rearrange in or between groups using drag and drop. Rows also gain Move the layer to the top, Move the layer to the bottom and Copy and paste the layer with all symbols
Delete Layers (trash, top bar, right)Turns on delete mode, giving every layer row its own trash icon — and the group header a trash of its own that removes every layer in that group

Controls on each layer row

A map.army layer row: Pencil, Show / Hide, Zoom layer and Settings icons on an active layer

Every layer in the list carries its own controls, whether or not the Layer-Manager is open:

ControlWhat it does
Pencil or checkmarkAppears on the selected layer only, and says which kind it is: a pencil for an active, editable layer — the one new symbols land on — or a checkmark for a layer that is selected but cannot be edited: read-only, locked by someone else, or shown in presentation mode. Click the layer’s name to select it — in the plain list. With the Layer-Manager open, clicking the name of a renamable layer starts an inline rename instead. See MilX Layers
Filled dot (left of the name)Marks a layer whose changes have not been written back to a MilX file — new symbols, but also a rename, Approved, Read-Only, or a move to another group. A new layer starts with the dot. Local MilX layers have no save button on the row. Download layers as a MilX file at the top of the panel looks dimmed while nothing is unsaved, but it stays clickable
Show / HideHides this layer from the map without deleting it
Zoom layerZooms the map to fit everything on this layer
SettingsOpens the layer’s own settings: Opacity, Approved, Read-Only, the Layer Name, and Override Symbol Format. Opacity is the one most people are hunting for — it fades one layer back without touching the rest

Reorder by dragging — but only in Reorganize mode. Turn Reorganize Layers on first. Without it, dragging a row does nothing and clicking a layer’s name starts a rename instead, which is the usual reason reordering “does not work”. Order matters on the map: layers higher in the list draw on top of those below.

Dragging also moves a layer between MilX groups — from Local MilX Layers into Shared MilX Layers, say. It does not reach Vector Layers or Image Layers: those hold a different kind of layer entirely and are not part of the Layer-Manager, so a MilX layer cannot be dropped into them. A group that does not accept new layers refuses the drop.

While Reorganize is on, the row under the mouse pointer also offers Move the layer to the top and Move the layer to the bottom — both jump straight to the end of the list rather than stepping one position — and Copy and paste the layer with all symbols, which duplicates a layer and everything on it as Copy.

To move several layers at once, click their rows (or Shift + click) to select them, then drag one of them: all selected layers move together.

Hint: Moving a layer into Shared MilX Layers does not update the share yet. The layer is marked unsaved; the copy on the share server changes only when you update the share or press Ctrl + S — see How to create a share.
Hint: Override Symbol Format lets one layer use its own symbol formatting instead of the app-wide setting. Turning it back off discards the custom format rather than remembering it — so if you may want it again, note the settings before you clear the checkbox. The checkbox is unavailable on layers you are not allowed to reformat.

The Approved checkbox in the same dialog switches the layer to black-and-white presentation — the layer and every symbol on it. The setting is written into the MilX file itself, so an approved layer stays approved when the file is opened again in map.army. One exception on screen: the graphic you are currently editing keeps its editing highlight, so a symbol under the cursor is not black and white. See Work with symbols on MilX layers.

Creating a layer

The map.army layer list with 'New Layer' freshly appended below 'UA-Woods' after New MilX Layer
  1. Open the Layer-Manager as described above.
  2. Click New MilX Layer — the first icon on the group header. A layer named New Layer is appended to the bottom of the group.
  3. Click Close Layer-Manager to return to the layer list.

Name layers for the part of the situation they carry — Blue_Phase2, Red_Phase1 — rather than leaving several called New Layer; the name is what you will see when saving, loading and sharing, and it becomes part of the saved filename.

Saving layers to a local MilX file

  1. Open the Layer-Manager.
  2. Click Save as MilX — the third icon on the group header. The list switches into selection mode with every layer of the group already selected.
  3. Click a row to leave it out, or click it again to take it back in; Shift + click works the same way. all selects everything again, unselect clears the selection.
    Selection mode in the Layer-Manager, with every MilX layer selected and the green download button at the top
  4. Click the green button, Save selected Overlays (MilX Layer). If you have cleared the selection, map.army warns Select the layer(s) to download. rather than saving an empty file.
  5. Confirm the save. Depending on your download settings the file either lands straight in your download folder or the browser asks where to put it. Whatever your browser calls the file type in that dialog comes from your operating system, not from map.army; the file itself is saved with the .milxlyz extension.

map.army generates the filename for you: the layer’s own name when you save one layer, or LayerCollection when you save several, followed by a timestamp so repeated saves never overwrite each other. The timestamp follows your own date-format, locale and time-zone settings, so its shape is not the same for everyone. See MilX Layers for how the name is built. For the step-by-step with more screenshots, see Export Overlays.

Hint: Save before any risky edit — a large delete, a layer merge, or switching work mode. Undo does cover a good deal (see Keyboard shortcuts), but it is per-session and capped, so a recent .milxlyz is your real safety net.

Loading layers from a local MilX file

  1. Open the Layer-Manager.
  2. Click Load MilX — the second icon on the group header.
  3. Pick a local .milxlyz or .milxly file and confirm.
    The layer list after a load: session layer 'New Layer' kept at top, loaded layers added below

Loaded layers are always added to whatever you already have open — existing layers are never overwritten or replaced, and a layer you created in this session survives the load. That is what lets you combine several saved files into one situation, and it is why loading a collection alongside your working layer is safe. For the step-by-step, see Import Overlays.

With map.army installed to the desktop you can also open a file without going through the Layer-Manager: double-click a .milxlyz or .milxly, or send one to map.army from your system’s share sheet. See Open MilX files directly.

Hint: That route is the one exception to “loading always adds”. Double-clicking a second file opens a second window rather than adding the layer to the situation you already have open. To combine files, load them from inside the Layer-Manager instead.

Deleting a layer

  1. Open the Layer-Manager.
  2. Click the Delete Layers icon at the top of the panel — its tooltip reads Delete Layers: Enable to delete individual layers. This is a mode switch, not an immediate delete: every layer row gains its own trash icon.
    The 'Delete Layers' trash icon above the Layer-Manager toolbar, with its tooltip open
  3. Click the trash icon on the row you want to remove.
  4. If the layer holds unsaved changes, map.army lists them and asks you to confirm — click Delete to remove the layer, or Cancel to keep it. If there is nothing unsaved, there is no prompt: the layer goes straight away. So do not treat the dialog as a safety net you will always get.
    The delete confirmation naming the layer to be removed, with the 'Don't show this message again' checkbox
Hint:

The confirmation dialog offers Don’t show this message again. Leave it unticked — it is the only warning you get that a layer holds unsaved work, and it only appears at all when there is unsaved work to warn about.

If you delete a MilX layer by mistake, Ctrl + Z brings it back, symbols and all. Three things it does not restore: the layer returns at the bottom of its group rather than in its old position, it is renamed if another layer has taken its name in the meantime, and a layer that was read-only comes back editable. The undo is per-session and capped: it keeps at most 100 steps and has a size budget, so a large layer — a few hundred symbols — can no longer be brought back once you do anything else that can be undone. Save before you delete a big layer. It will not help you after a reload either. Operation layers of map.army pro cannot be deleted from the Layer-Manager.

The working cycle

Putting it together:

  1. Create a layer for each part of the situation, and name it.
  2. Activate the layer you want to draw on — check for the pencil; see MilX Layers.
  3. Draw your symbols onto it — see Work with symbols on MilX layers.
  4. Save to a local .milxlyz file early and often, especially before risky edits.
  5. Load the local file later — on the same machine or another — to keep working, with the layers added on top of the current map.
  6. Delete the layers you no longer need, once they are saved.

Saving and loading always work against a local file on your own device. When you need a copy that lives server-side instead — for sharing, or as an extra backup — create a MilX Share instead of (or in addition to) saving locally; see How to create a share.