add view_map support