diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-04-16 19:01:00 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-04-17 13:40:42 +0200 |
commit | 5d769f9b6253aa9f7792c3126cffb7f390177d88 (patch) | |
tree | d6797f37a2cf889c48c947228045c6543234a559 /test/fixtures/api | |
parent | 9af3f07e5b3833f98461bbb7caccda5ff37e5d17 (diff) | |
download | qtlocation-mapboxgl-5d769f9b6253aa9f7792c3126cffb7f390177d88.tar.gz |
explicitly call .discard() to resize the view on static renders
- this is only a stopgap; we need to properly pass state between threads
- doesn't fix changing the pixel ratio
Diffstat (limited to 'test/fixtures/api')
-rw-r--r-- | test/fixtures/api/1.png | bin | 0 -> 12529 bytes | |||
-rw-r--r-- | test/fixtures/api/2.png | bin | 0 -> 115197 bytes | |||
-rw-r--r-- | test/fixtures/api/water.json | 25 |
3 files changed, 25 insertions, 0 deletions
diff --git a/test/fixtures/api/1.png b/test/fixtures/api/1.png Binary files differnew file mode 100644 index 0000000000..69e3c8ca95 --- /dev/null +++ b/test/fixtures/api/1.png diff --git a/test/fixtures/api/2.png b/test/fixtures/api/2.png Binary files differnew file mode 100644 index 0000000000..2a28c639a5 --- /dev/null +++ b/test/fixtures/api/2.png diff --git a/test/fixtures/api/water.json b/test/fixtures/api/water.json new file mode 100644 index 0000000000..2bcce11992 --- /dev/null +++ b/test/fixtures/api/water.json @@ -0,0 +1,25 @@ +{ + "version": 7, + "name": "Water", + "sources": { + "mapbox": { + "type": "vector", + "url": "asset://TEST_DATA/fixtures/tiles/streets.json" + } + }, + "layers": [{ + "id": "background", + "type": "background", + "paint": { + "background-color": "red" + } + }, { + "id": "water", + "type": "fill", + "source": "mapbox", + "source-layer": "water", + "paint": { + "fill-color": "blue" + } + }] +} |