add map direct support