Interactive map

How do I build an interactive map using and data from an API. I know how to use the API connector for other things. But building an interactive map seems difficult and I keep getting stuck.