Skip to content

Commit

Permalink
Create null geometry render test (#9781)
Browse files Browse the repository at this point in the history
* Create null-geometry render test

* Delete null_geometry

* Create style.json

* adding missing content
  • Loading branch information
ZiZasaurus authored Jun 12, 2020
1 parent e1d60c5 commit 8516027
Show file tree
Hide file tree
Showing 2 changed files with 40 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.
40 changes: 40 additions & 0 deletions test/integration/render-tests/geojson/null-geometry/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"properties": {},
"geometry": null
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
]
}
}
},
"sprite": "local://sprites/sprite",
"layers": [{
"id": "circle",
"type": "circle",
"source": "geojson"
}]
}

0 comments on commit 8516027

Please sign in to comment.