# GET /ispatial-service/service/queryServiceTilejson ================================================================================ 查询服务的 tilejson,目前为服务的动态配图的 mapbox gl 框架提供支持,通过 tilejson 进行服务渲染 ## 参数 | 名称 | 类型 | 是否必传 | 备注 | | ---- | ------- | -------- | ------- | | sid | integer | Y | 服务 id | ## 返回 | 名称 | 类型 | 是否必传 | 备注 | | --------------------------- | ------- | -------- | ----------------------------------- | | tilejson | string | Y | tilejson 版本号,默认 2.2.0 | | id | integer | Y | 服务 id | | name | string | Y | 服务名称 | | description | string | Y | 服务描述 | | minzoom | integer | Y | 服务最小缩放层级,默认 0 | | maxzoom | integer | Y | 服务最大缩放层级,默认 22 | | version | string | Y | 服务版本号 | | scheme | string | Y | scheme | | type | string | Y | overlay | | bounds | array | Y | 服务范围(xmin, ymin, xmax, ymax) | | center | array | Y | 服务中心(level, longitude, latitude | | format | string | Y | 格式化类型,默认 pbf | | mapbox_logo | boolean | Y | false | | tiles | array | Y | 服务地址[url] | | vector_layers | array | Y | 图层信息 | | vector_layers.#.id | string | Y | 图层 id | | vector_layers.#.description | string | Y | 图层描述 | | vector_layers.#.fields | array | Y | 图层字段 | | vector_layers.#.minzoom | integer | Y | 图层最小缩放层级,默认 0 | | vector_layers.#.maxzoom | integer | Y | 图层最大缩放层级,默认 22 | | vector_layers.#.source | string | Y | 图层资源 | | vector_layers.#.source_name | string | Y | 图层资源名称 |