diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-07-08 15:05:10 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-07-08 15:05:10 -0700 |
commit | e1bd68f6181478464fcca954cfba15fcf7bf4101 (patch) | |
tree | 803417ecbf4fb273e132b9e3ec95d2adeecfde29 /test/fixtures/styles | |
parent | df65ecaa343dc977857693b1719f3fe54a47e6d4 (diff) | |
download | qtlocation-mapboxgl-e1bd68f6181478464fcca954cfba15fcf7bf4101.tar.gz |
add antialiasing test
Diffstat (limited to 'test/fixtures/styles')
-rw-r--r-- | test/fixtures/styles/1.actual.png | bin | 0 -> 31356 bytes | |||
-rw-r--r-- | test/fixtures/styles/1.expected.png | bin | 0 -> 31356 bytes | |||
-rw-r--r-- | test/fixtures/styles/1.info.json | 8 | ||||
-rw-r--r-- | test/fixtures/styles/1.style.json | 33 |
4 files changed, 41 insertions, 0 deletions
diff --git a/test/fixtures/styles/1.actual.png b/test/fixtures/styles/1.actual.png Binary files differnew file mode 100644 index 0000000000..d34c46a6c9 --- /dev/null +++ b/test/fixtures/styles/1.actual.png diff --git a/test/fixtures/styles/1.expected.png b/test/fixtures/styles/1.expected.png Binary files differnew file mode 100644 index 0000000000..d34c46a6c9 --- /dev/null +++ b/test/fixtures/styles/1.expected.png diff --git a/test/fixtures/styles/1.info.json b/test/fixtures/styles/1.info.json new file mode 100644 index 0000000000..3501d30edb --- /dev/null +++ b/test/fixtures/styles/1.info.json @@ -0,0 +1,8 @@ +{ + "zoom": 0, + "latitude": 0, + "longitude": 0, + "angle": 0, + "width": 512, + "height": 512 +} diff --git a/test/fixtures/styles/1.style.json b/test/fixtures/styles/1.style.json new file mode 100644 index 0000000000..d35c4bc0f4 --- /dev/null +++ b/test/fixtures/styles/1.style.json @@ -0,0 +1,33 @@ +{ + "version": 3, + "sources": { + "mapbox": { + "type": "vector", + "url": "tiles/%d-%d-%d.vector.pbf", + "tileSize": 512, + "maxZoom": 14 + } + }, + "layers": [ + { + "id": "background", + "render": { + "type": "background" + }, + "style": { + "background-color": "red" + } + }, + { + "id": "water", + "source": "mapbox", + "source-layer": "water", + "render": { + "type": "fill" + }, + "style": { + "fill-color": "blue" + } + } + ] +} |