implement add event function to and set google map and without add dataase interaction