Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 19, 2024
1 parent df375ef commit eb57209
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/maplibre/add_video.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,35 +66,35 @@
"outputs": [],
"source": [
"style = {\n",
" 'version': 8,\n",
" 'sources': {\n",
" 'satellite': {\n",
" 'type': 'raster',\n",
" 'url': f'https://api.maptiler.com/tiles/satellite/tiles.json?key={MAPTILER_KEY}',\n",
" 'tileSize': 256,\n",
" \"version\": 8,\n",
" \"sources\": {\n",
" \"satellite\": {\n",
" \"type\": \"raster\",\n",
" \"url\": f\"https://api.maptiler.com/tiles/satellite/tiles.json?key={MAPTILER_KEY}\",\n",
" \"tileSize\": 256,\n",
" },\n",
" 'video': {\n",
" 'type': 'video',\n",
" 'urls': [\n",
" 'https://static-assets.mapbox.com/mapbox-gl-js/drone.mp4',\n",
" 'https://static-assets.mapbox.com/mapbox-gl-js/drone.webm',\n",
" \"video\": {\n",
" \"type\": \"video\",\n",
" \"urls\": [\n",
" \"https://static-assets.mapbox.com/mapbox-gl-js/drone.mp4\",\n",
" \"https://static-assets.mapbox.com/mapbox-gl-js/drone.webm\",\n",
" ],\n",
" 'coordinates': [\n",
" \"coordinates\": [\n",
" [-122.51596391201019, 37.56238816766053],\n",
" [-122.51467645168304, 37.56410183312965],\n",
" [-122.51309394836426, 37.563391708549425],\n",
" [-122.51423120498657, 37.56161849366671],\n",
" ],\n",
" },\n",
" },\n",
" 'layers': [\n",
" \"layers\": [\n",
" {\n",
" 'id': 'background',\n",
" 'type': 'background',\n",
" 'paint': {'background-color': 'rgb(4,7,14)'},\n",
" \"id\": \"background\",\n",
" \"type\": \"background\",\n",
" \"paint\": {\"background-color\": \"rgb(4,7,14)\"},\n",
" },\n",
" {'id': 'satellite', 'type': 'raster', 'source': 'satellite'},\n",
" {'id': 'video', 'type': 'raster', 'source': 'video'},\n",
" {\"id\": \"satellite\", \"type\": \"raster\", \"source\": \"satellite\"},\n",
" {\"id\": \"video\", \"type\": \"raster\", \"source\": \"video\"},\n",
" ],\n",
"}"
]
Expand Down

0 comments on commit eb57209

Please sign in to comment.