Skip to content

Commit

Permalink
[MAPSNAT-1863] Added render test for the fill-layer with MultiPolygon…
Browse files Browse the repository at this point in the history
… geometry (internal-1422)
  • Loading branch information
dserebriakov authored and mourner committed May 22, 2024
1 parent 99f7721 commit 1229b73
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions test/integration/render-tests/fill-color/multipolygon/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64
}
},
"sources": {
"test": {
"type": "geojson",
"data": {
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[-5, -5],
[-5, 5],
[ 5, 5],
[ 5, -5]
]
],
[
[
[ 0, 0],
[ 0, 10],
[10, 10],
[10, 0]
]
]
]
}
}
}
},
"layers": [
{
"id": "test",
"type": "fill",
"source": "test",
"paint": {
"fill-color": "red"
}
}
]
}

0 comments on commit 1229b73

Please sign in to comment.