added a function for creating the map markers hash