doc comment for PlanNextMap()