-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# 地图瓦片服务 | ||
|
||
?> 地图瓦片服务以瓦片集mbtiles的文件名(不包含后缀)作为`tilesetId`,地图瓦片集存储在`data/tilesets`目录下,在该目录下进行地图样式的新增、修改和删除操作。矢量瓦片集的生成,可以使用[tippecanoe](https://github.com/mapbox/tippecanoe),该工具仅支持Linux和macOS。 | ||
?> 地图瓦片服务以瓦片集mbtiles的文件名(不包含后缀)作为`tilesetId`,地图瓦片集存储在`data/tilesets`目录下,在该目录下进行地图瓦片的新增、修改和删除操作。矢量瓦片集的生成,可以使用[tippecanoe](https://github.com/mapbox/tippecanoe),该工具仅支持Linux和macOS。 | ||
|
||
``` | ||
GET /api/tilesets // 获取瓦片集列表 | ||
GET /api/tilesets/{tilesetId}/tilejson // 获取瓦片集的描述信息 | ||
GET /api/tilesets/{tilesetId}/html // 预览瓦片集 | ||
GET /api/tilesets/{tilesetId}/{z}/{x}/{y}.{format} // 获取瓦片 | ||
``` | ||
``` |