Adaptive choice of map type