Skip to content

Commit

Permalink
Add test case for mapbox/mapbox-gl-native#11451
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Mar 14, 2018
1 parent b42a665 commit 9dd1ed7
Show file tree
Hide file tree
Showing 2 changed files with 51 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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Feature",
"properties": {
"sizeA": 2,
"sizeB": 1
},
"geometry": {
"type": "Point",
"coordinates": [0, 0]
}
}
}
},
"sprite": "local://sprites/sprite",
"layers": [{
"id": "a",
"type": "symbol",
"source": "geojson",
"layout": {
"icon-image": "dot.sdf",
"icon-allow-overlap": true,
"icon-size": ["get", "sizeA"]
},
"paint": {
"icon-color": "blue"
}
}, {
"id": "b",
"type": "symbol",
"source": "geojson",
"layout": {
"icon-image": "dot.sdf",
"icon-allow-overlap": true,
"icon-size": ["get", "sizeB"]
},
"paint": {
"icon-color": "red"
}
}]
}

0 comments on commit 9dd1ed7

Please sign in to comment.