Rapid growth in economies and a sharp increase in the present quantity of vehicles have contributed to congested cities, traffic accidents, energy crises and air pollution, which not only cause serious economic damage but also affect human life and safety. According to the Kyoto Protocol international standards and consensus, the trend in the automotive industry is to develop more ecological vehicles in order to reduce fuel consumption and air pollution. Recently, a number of modern premium cars have been equipped with advanced driver assistance systems (ADAS), especially an adaptive cruise control (ACC) system, which was found to be one of the most widely and successful ADAS systems to date. However, the road topography on highways affects fuel consumption of vehicles. Rapid acceleration, rapid deceleration, and unreasonable gear use can all result in increasing fuel consumption. Therefore, an eco-cruise control (ECC) system on roads with up-down slopes is critical for improving vehicle fuel economy in coordination with the Global Positioning System (GPS) and Geographic Information System (GIS). This proposed approach combines the road elevation profile of digital road maps with nonlinear optimal predictive control (NOPC) algorithms to handle the vehicle velocity control; it is aimed at providing the most economical speed according to road grade. The developed algorithms not only provide ecological driving guidance for the driver, but also contribute to driving safety. Finally, extensive simulations demonstrate that the proposed controller can significantly reduce fuel consumption of a vehicle while ensuring driving comfort and safety.