diff --git a/package.json b/package.json index f1e6806d3ad..a0cde6fcf49 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "csscolorparser": "~1.0.2", "earcut": "^2.1.3", "geojson-rewind": "^0.3.0", - "geojson-vt": "^3.1.0", + "geojson-vt": "^3.1.2", "gray-matter": "^3.0.8", "grid-index": "^1.0.0", "minimist": "0.0.8", diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#6649/expected.png b/test/integration/render-tests/regressions/mapbox-gl-js#6649/expected.png new file mode 100644 index 00000000000..599d18ba610 Binary files /dev/null and b/test/integration/render-tests/regressions/mapbox-gl-js#6649/expected.png differ diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#6649/style.json b/test/integration/render-tests/regressions/mapbox-gl-js#6649/style.json new file mode 100644 index 00000000000..1990f799d83 --- /dev/null +++ b/test/integration/render-tests/regressions/mapbox-gl-js#6649/style.json @@ -0,0 +1,52 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 64, + "height": 64 + } + }, + "zoom": 2, + "sources": { + "geojson": { + "type": "geojson", + "data": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "MultiLineString", + "coordinates": [ + [ + [ + -3, + -3 + ], + [ + -3, + 3 + ] + ], + [ + [ + 3, + -3 + ], + [ + 3, + 3 + ] + ] + ] + } + }, + "lineMetrics": true + } + }, + "layers": [ + { + "id": "id", + "type": "line", + "source": "geojson" + } + ] +} diff --git a/yarn.lock b/yarn.lock index 7b63206fac5..2aff0a10ef3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4373,9 +4373,9 @@ geojson-rewind@^0.3.0: concat-stream "~1.6.0" minimist "1.2.0" -geojson-vt@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/geojson-vt/-/geojson-vt-3.1.0.tgz#37b63d9ab7fafc9861dacc9aef20022df135074a" +geojson-vt@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/geojson-vt/-/geojson-vt-3.1.2.tgz#ea98849bd7717979db4c86fed8ef4e47475e4bab" get-caller-file@^1.0.1: version "1.0.2"