summaryrefslogtreecommitdiff
path: root/test/fixtures/styles
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-07-08 15:05:10 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-07-08 15:05:10 -0700
commite1bd68f6181478464fcca954cfba15fcf7bf4101 (patch)
tree803417ecbf4fb273e132b9e3ec95d2adeecfde29 /test/fixtures/styles
parentdf65ecaa343dc977857693b1719f3fe54a47e6d4 (diff)
downloadqtlocation-mapboxgl-e1bd68f6181478464fcca954cfba15fcf7bf4101.tar.gz
add antialiasing test
Diffstat (limited to 'test/fixtures/styles')
-rw-r--r--test/fixtures/styles/1.actual.pngbin0 -> 31356 bytes
-rw-r--r--test/fixtures/styles/1.expected.pngbin0 -> 31356 bytes
-rw-r--r--test/fixtures/styles/1.info.json8
-rw-r--r--test/fixtures/styles/1.style.json33
4 files changed, 41 insertions, 0 deletions
diff --git a/test/fixtures/styles/1.actual.png b/test/fixtures/styles/1.actual.png
new file mode 100644
index 0000000000..d34c46a6c9
--- /dev/null
+++ b/test/fixtures/styles/1.actual.png
Binary files differ
diff --git a/test/fixtures/styles/1.expected.png b/test/fixtures/styles/1.expected.png
new file mode 100644
index 0000000000..d34c46a6c9
--- /dev/null
+++ b/test/fixtures/styles/1.expected.png
Binary files differ
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"
+ }
+ }
+ ]
+}