optimize map, as there are now multiple markers at once