diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2019-10-11 11:34:13 +0300 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2019-10-16 14:14:46 +0300 |
commit | 050b3360ecef908d02141ed445d93ba5b4c9c75f (patch) | |
tree | 7d6bff22a49f7d93756a840dd3729ab50284eb57 /render-test/tests/network/fail-requests-transferred/style.json | |
parent | b53093b5221efb6f98f712f734b823ffce1400e1 (diff) | |
download | qtlocation-mapboxgl-050b3360ecef908d02141ed445d93ba5b4c9c75f.tar.gz |
[render-test] Add network metrics test case
Diffstat (limited to 'render-test/tests/network/fail-requests-transferred/style.json')
-rw-r--r-- | render-test/tests/network/fail-requests-transferred/style.json | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/render-test/tests/network/fail-requests-transferred/style.json b/render-test/tests/network/fail-requests-transferred/style.json new file mode 100644 index 0000000000..ef94ddc748 --- /dev/null +++ b/render-test/tests/network/fail-requests-transferred/style.json @@ -0,0 +1,67 @@ +{ + "version": 8, + "metadata": { + "test": { + "operations": [ + ["probeNetworkStart"], + ["probeNetwork", "start"], + ["wait"], + ["probeNetwork", "end"], + ["probeNetworkEnd"] + ], + "height": 256, + "width": 1024 + } + }, + "center": [ + -73, + 15 + ], + "zoom": 4.5, + "sources": { + "mapbox": { + "type": "vector", + "maxzoom": 14, + "tiles": [ + "local://tiles/mapbox.mapbox-streets-v7/{z}-{x}-{y}.mvt" + ] + } + }, + "glyphs": "local://glyphs/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "line-center", + "type": "symbol", + "source": "mapbox", + "source-layer": "marine_label", + "layout": { + "text-field": "{name_en}", + "symbol-placement": "line-center", + "text-allow-overlap": true, + "text-size": 35, + "text-letter-spacing": 0.4, + "text-offset": [3, 0], + "text-font": [ + "Open Sans Semibold", + "Arial Unicode MS Bold" + ] + } + }, + { + "id": "line", + "type": "line", + "source": "mapbox", + "source-layer": "marine_label", + "paint": { + "line-width": 1 + } + } + ] +} |