updated map function to churn out markers dynamically (not working, latlng error)