Skip to content

Commit

Permalink
make render tests less noisy and add two separate cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Arindam Bose authored and kkaefer committed Sep 20, 2019
1 parent 568bf03 commit 282b427
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"version": 8,
"metadata": {
"test": {
"height": 256,
"allowed": 0.0005
}
},
"center": [
13.417,
52.502
],
"zoom": 16,
"sources": {
"mapbox": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/{z}-{x}-{y}.mvt"
]
}
},
"sprite": "local://sprites/icon-text-fit",
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "road",
"type": "symbol",
"source": "mapbox",
"source-layer": "road_label",
"layout": {
"text-variable-anchor": ["left", "right", "bottom", "top"],
"text-field": "{name}",
"text-allow-overlap": true,
"icon-allow-overlap": true,
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
],
"icon-image": "label",
"icon-text-fit": "both",
"icon-text-fit-padding": [
5,
10,
5,
10
]
},
"paint": {
"icon-opacity": 1
}
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
"layout": {
"text-variable-anchor": ["left", "right", "bottom", "top"],
"text-field": "{name}",
"text-allow-overlap": true,
"icon-allow-overlap": true,
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
Expand Down

0 comments on commit 282b427

Please sign in to comment.