Skip to content

Commit

Permalink
Test cases for circle-pitch-scale
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Jul 5, 2016
1 parent 2e5addb commit f3b8d8c
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 0 deletions.
Binary file added render-tests/circle-pitch-scale/map/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions render-tests/circle-pitch-scale/map/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512
}
},
"center": [
0,
0
],
"zoom": 0,
"pitch": 90,
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "MultiPoint",
"coordinates": [
[
0,
0
],
[
0,
60
],
[
0,
-60
]
]
}
}
},
"layers": [
{
"id": "circles",
"type": "circle",
"source": "geojson",
"paint": {
"circle-radius": 40,
"circle-color": "blue",
"circle-pitch-scale": "map"
}
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions render-tests/circle-pitch-scale/viewport/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512
}
},
"center": [
0,
0
],
"zoom": 0,
"pitch": 90,
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "MultiPoint",
"coordinates": [
[
0,
0
],
[
0,
60
],
[
0,
-60
]
]
}
}
},
"layers": [
{
"id": "circles",
"type": "circle",
"source": "geojson",
"paint": {
"circle-radius": 40,
"circle-color": "blue",
"circle-pitch-scale": "viewport"
}
}
]
}

0 comments on commit f3b8d8c

Please sign in to comment.