adds ui object in map controller