Skip to content

Commit

Permalink
Use # isntead of 0x for color
Browse files Browse the repository at this point in the history
  • Loading branch information
arindam1993 committed Dec 27, 2024
1 parent 9ba43f6 commit 41811a9
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: `0x${routeColor}`,
route_text_color: `0x${routeTextColor}`,
route_color: `#${routeColor}`,
route_text_color: `#${routeTextColor}`,
});

await appendFile(ldGeoJsonPath, JSON.stringify(routeLineString)+'\n');
Expand Down

0 comments on commit 41811a9

Please sign in to comment.