mirror of
https://github.com/maplibre/martin.git
synced 2024-12-26 00:12:46 +03:00
f88db05582
When a SQL comment is set on a table or a function to customize tilejson, and that tbl/func is pre-configured as part of the config file, the comment was silently ignored. Now both table and function cases are handled correctly. Also, update docs to not include function parameters - makes SQL example a bit simpler. Thanks @jjcfrancisco for reporting! Fixes: #1044
24 lines
423 B
JSON
24 lines
423 B
JSON
{
|
|
"tilejson": "3.0.0",
|
|
"tiles": [
|
|
"http://localhost:3111/MixPoints/{z}/{x}/{y}"
|
|
],
|
|
"vector_layers": [
|
|
{
|
|
"id": "MixPoints",
|
|
"fields": {
|
|
"Gid": "int4",
|
|
"TABLE": "text"
|
|
}
|
|
}
|
|
],
|
|
"bounds": [
|
|
-170.94984639004662,
|
|
-84.20025580733805,
|
|
167.70892858284475,
|
|
74.23573284753762
|
|
],
|
|
"description": "a description from comment on table",
|
|
"name": "MixPoints"
|
|
}
|