Skip to content

Commit

Permalink
Add mbtiles source to style spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jpilet committed Jun 12, 2018
1 parent 00e8880 commit 11650a8
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/style-spec/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,29 @@
"source_raster_dem",
"source_geojson",
"source_video",
"source_image"
"source_image",
"source_mbtiles"
],
"source_mbtiles": {
"type": {
"required": true,
"type": "enum",
"values": {
"mbtiles": {
"doc": "Local mbtiles db source."
}
},
"doc": "The type of the source."
},
"attribution": {
"type": "string",
"doc": "Legal attribution of the source."
},
"path": {
"type": "string",
"doc": "Local path to the mbtiles DB."
}
},
"source_vector": {
"type": {
"required": true,
Expand Down

0 comments on commit 11650a8

Please sign in to comment.