map: add support for map-t if available