Skip to content

Commit

Permalink
TEST: More refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley committed Jul 30, 2021
1 parent a8a7291 commit dc73757
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions test/integration/render-tests/map-mode/static/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": 8,
"metadata": {
"test": {
"mapMode": "static",
"height": 512,
"width": 512
}
},
"center": [
13.414306640625,
52.502847659403955
],
"zoom": 14,
"sources": {
"mapbox": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/{z}-{x}-{y}.mvt"
]
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "text",
"type": "symbol",
"source": "mapbox",
"source-layer": "poi_label",
"filter": [
"==",
"maki",
"restaurant"
],
"layout": {
"symbol-placement": "point",
"text-allow-overlap": true,
"text-ignore-placement": true,
"text-field": "A B C D\nE F G H",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
},
"paint": {}
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions test/integration/render-tests/map-mode/tile-avoid-edges/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 8,
"metadata": {
"test": {
"mapMode": "tile",
"collisionDebug": true,
"debug": true,
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/chicago.json"],
["setZoom", 13 ],
["setCenter", [-87.7442445, 41.8403965] ],
["wait"]
]
}
},
"sources": {},
"layers": []
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions test/integration/render-tests/map-mode/tile/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": 8,
"metadata": {
"test": {
"mapMode": "tile",
"height": 512,
"width": 512
}
},
"center": [
13.414306640625,
52.502847659403955
],
"zoom": 14,
"sources": {
"mapbox": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/{z}-{x}-{y}.mvt"
]
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "text",
"type": "symbol",
"source": "mapbox",
"source-layer": "poi_label",
"filter": [
"==",
"maki",
"restaurant"
],
"layout": {
"symbol-placement": "point",
"text-allow-overlap": true,
"text-ignore-placement": true,
"text-field": "A B C D\nE F G H",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
},
"paint": {}
}
]
}

0 comments on commit dc73757

Please sign in to comment.