mirror of
https://github.com/maplibre/martin.git
synced 2024-12-30 10:22:27 +03:00
e92722708f
* make tilejson's `name` be the same as the ID of the source (even if aliased) * `/catalog` will always show ID, but now it will hide the `name` if it is the same as the `id` * make `description` be the longer version, e.g. `public.table.column` format - not guaranteed to be stable * make `vector_layers` have the fields auto-discovered in the PG table * preserve the order of the serialized json fields Fixes #583
17 lines
274 B
JSON
17 lines
274 B
JSON
{
|
|
"tilejson": "3.0.0",
|
|
"tiles": [
|
|
"http://localhost:3111/points3857/{z}/{x}/{y}"
|
|
],
|
|
"vector_layers": [
|
|
{
|
|
"id": "points3857",
|
|
"fields": {
|
|
"gid": "int4"
|
|
}
|
|
}
|
|
],
|
|
"description": "public.points3857.geom",
|
|
"name": "points3857"
|
|
}
|