Google Maps is giving drivers the option to take a more eco-friendly route in an effort to reduce their carbon footprint.