add view_map_context support