diff --git a/test/image/baselines/mapbox_osm-style.png b/test/image/baselines/mapbox_osm-style.png new file mode 100644 index 00000000000..aaf86b38ac7 Binary files /dev/null and b/test/image/baselines/mapbox_osm-style.png differ diff --git a/test/image/mocks/mapbox_osm-style.json b/test/image/mocks/mapbox_osm-style.json new file mode 100644 index 00000000000..a69aa8c0466 --- /dev/null +++ b/test/image/mocks/mapbox_osm-style.json @@ -0,0 +1,36 @@ +{ + "data": [ + { + "type": "scattermapbox", + "lon": [ 10, 20 ], + "lat": [ 20, 10 ] + } + ], + "layout": { + "mapbox": { + "style": { + "id": "osm", + "version": 8, + "sources": { + "simple-tiles": { + "type": "raster", + "tiles": [ + "https://a.tile.openstreetmap.org/{z}/{x}/{y}.png", + "https://b.tile.openstreetmap.org/{z}/{x}/{y}.png" + ], + "tileSize": 256 + } + }, + "layers": [ + { + "id": "simple-tiles", + "type": "raster", + "source": "simple-tiles", + "minzoom": 0, + "maxzoom": 22 + } + ] + } + } + } +}