change the map type