Import CSV for map

I have a CSV with location names, longitudes and latitudes. I know there is a new upload button, but how do I read the data from the CSV after the upload is complete? What is the best way to quickly import this file to create all the markers?

The upload component has onFileReceived event that give user opportunity to read and parse any files.
After you parse the csv file on that event try to create a dictionary structure that follow what map component needed.