A satellite navigation device that takes drivers on the most environmentally friendly route is being developed.