How to set API location show on Google map markers

How can I display markers on the Google Maps in my app using Open API location data?

Like the one shown in the picture.

Thank you.