-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix line-pattern sampling from outside icon tex coords (#6246)
* Add regression test * fix y coordinate of linepattern texture * fix copy pasta * update to reflect #6275 * update tiny diff failing tests
- Loading branch information
Showing
6 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.41 KB
(100%)
test/integration/render-tests/line-pattern/overscaled/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+838 Bytes
test/integration/render-tests/regressions/mapbox-gl-js#5978/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions
64
test/integration/render-tests/regressions/mapbox-gl-js#5978/style.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"version": 8, | ||
"metadata": { | ||
"test": { | ||
"width": 64, | ||
"height": 64 | ||
} | ||
}, | ||
"sprite": "local://sprites/emerald", | ||
"sources": { | ||
"a": { | ||
"type": "geojson", | ||
"data": { | ||
"type": "LineString", | ||
"coordinates": [ | ||
[ | ||
-180, | ||
10 | ||
], | ||
[ | ||
180, | ||
10 | ||
] | ||
] | ||
} | ||
}, | ||
"b": { | ||
"type": "geojson", | ||
"data": { | ||
"type": "LineString", | ||
"coordinates": [ | ||
[ | ||
-180, | ||
-10 | ||
], | ||
[ | ||
180, | ||
-10 | ||
] | ||
] | ||
} | ||
} | ||
}, | ||
"layers": [ | ||
{ | ||
"id": "a", | ||
"type": "line", | ||
"source": "a", | ||
"paint": { | ||
"line-width": 4, | ||
"line-pattern": "oneway_road" | ||
} | ||
}, | ||
{ | ||
"id": "b", | ||
"type": "line", | ||
"source": "b", | ||
"paint": { | ||
"line-width": 30, | ||
"line-pattern": "default_3" | ||
} | ||
} | ||
] | ||
} |
Binary file modified
BIN
+2.42 KB
(100%)
test/integration/render-tests/regressions/mapbox-gl-native#9976/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.