diff --git a/src/generate-route-tiles.js b/src/generate-route-tiles.js index e41df5b..4096baa 100644 --- a/src/generate-route-tiles.js +++ b/src/generate-route-tiles.js @@ -31,8 +31,8 @@ async function generateRouteTiles( const shapes = Object.values(trips).map((shapeId) => shapeIdLineStringLookup[shapeId]); const routeLineString = multiLineString(shapes, { route_id: routeId, - route_color: routeColor, - route_text_color: routeTextColor, + route_color: `0x${routeColor}`, + route_text_color: `0x${routeTextColor}`, }); await appendFile(ldGeoJsonPath, JSON.stringify(routeLineString)+'\n');