Skip to content

Commit

Permalink
fix color parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
arindam1993 committed Dec 27, 2024
1 parent 8311481 commit 9ba43f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generate-route-tiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 9ba43f6

Please sign in to comment.