diff --git a/metrics/integration/render-tests/icon-offset/pitched-offset/expected.png b/metrics/integration/render-tests/icon-offset/pitched-offset/expected.png index dc506cd9f..b257f1289 100644 Binary files a/metrics/integration/render-tests/icon-offset/pitched-offset/expected.png and b/metrics/integration/render-tests/icon-offset/pitched-offset/expected.png differ diff --git a/metrics/integration/render-tests/icon-offset/pitched-offset/style.json b/metrics/integration/render-tests/icon-offset/pitched-offset/style.json index 8aa7d6d18..242f6a891 100644 --- a/metrics/integration/render-tests/icon-offset/pitched-offset/style.json +++ b/metrics/integration/render-tests/icon-offset/pitched-offset/style.json @@ -26,7 +26,7 @@ } } }, -"sprite": "local://sprites/almccon", +"sprite": "local://sprites/sprite", "layers": [ { "id": "background", @@ -56,7 +56,8 @@ "paint": { "line-color": "hsl(0, 0%, 100%)", "line-dasharray": [4, 12], - "line-offset": 7 + "line-offset": 25, + "line-width": 3 } }, { @@ -67,7 +68,8 @@ "paint": { "line-color": "hsl(0, 0%, 100%)", "line-dasharray": [4, 12], - "line-offset": -7 + "line-offset": -25, + "line-width": 3 } }, { @@ -76,16 +78,14 @@ "source": "geojson", "layout": { "icon-allow-overlap": true, - "icon-image": "through", + "icon-image": "oneway", "icon-offset": [0, 0], - "icon-rotate": 90, "icon-rotation-alignment": "map", "icon-pitch-alignment": "map", - "icon-size": 1, + "icon-size": 5, "symbol-placement": "line", "symbol-spacing": 300 - }, - "paint": {"icon-opacity": 0.8} + } }, { "id": "road-arrows-right", @@ -93,16 +93,14 @@ "source": "geojson", "layout": { "icon-allow-overlap": true, - "icon-image": "through", - "icon-offset": [50.339999999999996, 0], - "icon-rotate": 90, + "icon-image": "oneway", + "icon-offset": [0, 10], "icon-rotation-alignment": "map", "icon-pitch-alignment": "map", - "icon-size": 1, + "icon-size": 5, "symbol-placement": "line", "symbol-spacing": 300 - }, - "paint": {"icon-opacity": 0.8} + } }, { "id": "road-arrows-left", @@ -110,16 +108,14 @@ "source": "geojson", "layout": { "icon-allow-overlap": true, - "icon-image": "through", - "icon-offset": [-53.339999999999996, 0], - "icon-rotate": 90, + "icon-image": "oneway", + "icon-offset": [0, -10], "icon-rotation-alignment": "map", "icon-pitch-alignment": "map", - "icon-size": 1, + "icon-size": 5, "symbol-placement": "line", "symbol-spacing": 300 - }, - "paint": {"icon-opacity": 0.8} + } } ] } diff --git a/metrics/integration/sprites/almccon.json b/metrics/integration/sprites/almccon.json deleted file mode 100644 index 07d6b51b1..000000000 --- a/metrics/integration/sprites/almccon.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "through": { - "width": 48, - "height": 64, - "x": 531, - "y": 64, - "pixelRatio": 1 - }, - "through;right": { - "width": 48, - "height": 64, - "x": 579, - "y": 64, - "pixelRatio": 1 - }, - "through;slight_right": { - "width": 48, - "height": 64, - "x": 627, - "y": 64, - "pixelRatio": 1 - } -} diff --git a/metrics/integration/sprites/almccon.png b/metrics/integration/sprites/almccon.png deleted file mode 100644 index d4555fe1a..000000000 Binary files a/metrics/integration/sprites/almccon.png and /dev/null differ