routing for mapdemo