Zebflow Docs
mapserver.layer.list
Zebflow Docs

mapserver.layer.list

List every map layer this project has published, each with the record mapserver.layer.get answers for one

mapserver.layer.list → layer

List every map layer this project has published, each with the record mapserver.layer.get answers for one. No flags. Adds layer: { items, count } — a page reads input.layer.items. This is the registry, not the file store: a GeoParquet file nobody published is not in it.

Examples

Layers for a map picker

| mapserver.layer.list

It answers:

json
{  "layer": {    "items": [      {        "name": "suburbs",        "route": "suburbs"      }    ],    "count": 1  }}