diff options
author | Karim Naaji <karim.naaji@mapbox.com> | 2020-02-11 17:04:02 -0500 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-02-14 12:56:54 +0200 |
commit | 21107e0c1add92fea4ba614dfed968c1c42f41c0 (patch) | |
tree | 2563a7dea3a0d4ded85b2c819b48635896f28e30 /metrics | |
parent | bf8bde5029bf2cd54a85af5315ad26636109b9a1 (diff) | |
download | qtlocation-mapboxgl-21107e0c1add92fea4ba614dfed968c1c42f41c0.tar.gz |
Port line-dasharray fix from gl-js
* Fix artifact for zero-lenghted dash array
Fixes issue https://github.com/mapbox/mapbox-gl-js/issues/9213 and add
render test for coverage around 0-length dash arrays
Update distance field generation for regular dashes as follows:
1. Compute the dash array ranges and stretch location along the distance field
2. Collapse any 0-length distance field range
3. Collapse neighbouring same-type parts into single part
* combine consecutive dashes and parts
https://github.com/mapbox/mapbox-gl-js/pull/9246
https://github.com/mapbox/mapbox-gl-native/issues/16181
Diffstat (limited to 'metrics')
0 files changed, 0 insertions, 0 deletions