map now rendering based on data retrieved from database