Preheat oven to 400°F (200°C).
Wash, peel, and chop the carrots into 1-inch pieces.
In a large bowl, toss the carrots with olive oil, maple syrup, balsamic vinegar (if using), cinnamon, nutmeg, salt, and pepper. Make sure the carrots are evenly coated.
Spread the carrots in a single layer on a baking sheet lined with parchment paper.
Roast for 20-25 minutes, or until the carrots are tender and slightly caramelized. Halfway through, give the carrots a toss to ensure even cooking.
During the last 5 minutes of roasting, sprinkle the dried cranberries over the carrots.
Remove from oven, garnish with fresh rosemary (if using), and serve immediately.