enrich map, route function