Learning to communicate in UAV-aided wireless networks: Map-based approaches