Skip to content

Commit

Permalink
add pattern test
Browse files Browse the repository at this point in the history
  • Loading branch information
ansis committed Nov 27, 2019
1 parent 012e951 commit 95053f5
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,52 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"operations": [
[
"addImage",
"marker",
"./sprites/dark.png"
],
[
"addLayer",
{
"id": "geometry",
"type": "fill",
"source": "geometry",
"paint": {
"fill-pattern": "marker"
}
}
],
[
"wait"
],
[
"removeImage",
"marker"
],
[
"addImage",
"marker",
"./sprites/1x.png"
],
[
"wait"
]
]
}
},
"sources": {
"geometry": {
"type": "geojson",
"data": {
"type": "Polygon",
"coordinates": [[[-180, 80], [180, 80], [180, -80], [-180, -80]]]
}
}
},
"layers": []
}

0 comments on commit 95053f5

Please sign in to comment.