Layer controls
| Source guide | Project README |
Manages layer control entry placement and loading or feature-count status.
Status follows the layer
flowchart LR
Progress["Progress event / source areas"] --> Count["Loaded + pending + errors"]
Count --> Status["Render layer status"]
Layer["Layer added"] --> Entry["Place status under control entry"]
Entry --> Changes["Reposition on layer changes"]
Changes --> Remove["Remove listener when layer leaves"]
Status reflects source progress, not GPU frame completion. Placement may fail when no layers control lists the layer; loading must remain independent of it.
- placeEntry.js: place a layer entry.
- updateLayerCount.js: update its status.
- renderLayerCount.js: render loading and count information.