now returns data when saving marker