{
const ctx = DOM.context2d(tileSize, tileSize);
const path = d3.geoPath(null, ctx);
let highwayData = {
type: "FeatureCollection",
features: tileGeoJson.transportation.features.filter(highwayStyles.filter)
};
let bgStyle = parsedStyle.layers.find(layer => layer.type === "background");
ctx.fillStyle = bgStyle.paint["background-color"](tileCoords.z);
ctx.fillRect(0, 0, tileSize, tileSize);
ctx.miterLimit = highwayStyles.layout["line-miter-limit"](tileCoords.z);
ctx.lineWidth = highwayStyles.paint["line-width"](tileCoords.z);
ctx.strokeStyle = highwayStyles.paint["line-color"](tileCoords.z);
ctx.beginPath();
path(highwayData);
ctx.stroke();
return ctx.canvas;
}