Creation of the array for the data on the map